I don't use PhotosUI framework
in any place of my app .Don't know why I got crash report from PhotosUI .
Here is crash report from Crashlytics .
0 CoreFoundation __exceptionPreprocess + 130
1 libobjc.A.dylib objc_exception_throw + 38
2 CoreFoundation -[NSObject(NSObject) doesNotRecognizeSelector:] + 202
3 CoreFoundation ___forwarding___ + 706
4 CoreFoundation _CF_forwarding_prep_0 + 24
5 MyApp UICollectionViewFlowLayout+NoFade.m line 42
-[UICollectionViewFlowLayout(NoFade)noFadeFinalLayoutAttributesForDisappearingItemAtIndexPath:]
6 PhotosUI -[PUSectionedGridLayout finalLayoutAttributesForDisappearingItemAtIndexPath:]
-[PUSectionedGridLayout noFadeFinalLayoutAttributesForDisappearingItemAtIndexPath:]: unrecognized selector sent to instance 0x16d56160
It crashed because my UICollectionViewFlowLayout+NoFade
tried to call noFadeFinalLayoutAttributesForDisappearingItemAtIndexPath
which is not available PUSectionedGridLayout
But I didn't use PUSectionedGridLayout in any of my code. Is it happen when users select to pick photo from album or something ? I am not able to reproduct this crashes. Any solution for this ?
Thanks