Search code examples
iosios9photosframeworkphphotolibrary

What triggers Photo Library authorization request? iOS


Is there a way to find what triggers Photo Library authorization request?

I can't find what line exactly triggers the permission request for Photo Library.

I've searched workspace for [PHPhotoLibrary requestAuthorization] - no luck.

What should I search for to find line that triggers Photo Library authorization request?

Device is on iOS 9.


Solution

  • So, it was [[PHCachingImageManager alloc] init]. This line calls for permission.