An app to demonstrate a crash when using title
in NSPredicate
as option with PHAssetCollection.fetchAssetCollectionsWithType()
in iOS 9.1 beta 1
Run this app, grant photos permissions, it will crash with:
2015-09-14 13:36:37.495 Predicate Test[579:494452] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Unsupported predicate in fetch options: title == "Priime"'
Filed radar://22690748
This bug has since been fixed by Apple in beta 2 and beyond.