Post

Replies

Boosts

Views

Activity

Comment on app crashed when creating album
DispatchQueue.main.async { guard let album = PhotoLibrary.shared().findAlbum(title) else { // Wink 相册不存在,创建之后保存 MTPhotoLibrary.shared().createAlbum(title) { error, album in } } }
Replies
Boosts
Views
Activity
Apr ’24
Comment on app crashed when creating album
@darkpaw
Replies
Boosts
Views
Activity
Apr ’24
Comment on app crashed when creating album
PHFetchResult<PHAssetCollection *> *collectionResult = [PHAssetCollection fetchAssetCollectionsWithLocalIdentifiers:@[placeholder.localIdentifier] options:nil]; crash in this line
Replies
Boosts
Views
Activity
Apr ’24
Comment on about live activity load web image
Yes, I am finding a solution to updating network picture now.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’22
Comment on How to fetch an image in the Live Activity (ActivityKit)
Hi, I tried it, but it didn't work.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’22
Comment on My App has wrong behavior when I used UICollectionView API - scrollToItemAtIndexPath.( ios15 beta4)
It is correct in iOS 15 beta8
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on My App has wrong behavior when I used UICollectionView API - scrollToItemAtIndexPath.( ios15 beta4)
The value of indexPath is no problem, I compared iphone12. The same value and operation
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on My App has wrong behavior when I used UICollectionView API - scrollToItemAtIndexPath.( ios15 beta4)
My English is not very good, please don't mind.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on My App has wrong behavior when I used UICollectionView API - scrollToItemAtIndexPath.( ios15 beta4)
Do you mean you want to scroll to next item and it scrolls to previous ? right. I don't need to scroll to the center. The requirement is to click on the half-hidden cell and scroll to a position where it can be fully displayed
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Sep ’21