Post

Replies

Boosts

Views

Activity

Reply to iOS 14 beta critical null bug for PHAssetCollection.localizedTitle that are short foreign album name
Encountered the same issue when authorization is set to 'limited' let fetchOptions = PHFetchOptions() fetchOptions.predicate = NSPredicate(format: "title = %@", albumName) let fetchResult: PHFetchResult = PHAssetCollection.fetchAssetCollections(with: .album, subtype: .any, options: fetchOptions) guard let photoAlbum = fetchResult.firstObject else {     return nil } It always returns nil.
Sep ’20