DispatchQueue.main.async {
guard let album = PhotoLibrary.shared().findAlbum(title) else {
// Wink 相册不存在,创建之后保存
MTPhotoLibrary.shared().createAlbum(title) { error, album in }
}
}
Post
Replies
Boosts
Views
Activity
@darkpaw
PHFetchResult<PHAssetCollection *> *collectionResult = [PHAssetCollection fetchAssetCollectionsWithLocalIdentifiers:@[placeholder.localIdentifier] options:nil];
crash in this line
Yes, I am finding a solution to updating network picture now.
Hi, I tried it, but it didn't work.
It is correct in iOS 15 beta8
The value of indexPath is no problem, I compared iphone12. The same value and operation
My English is not very good, please don't mind.
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