I tried to implement the new iOS14 PHPhotoLibrary "Select Photo" feature.
My code is this simple:
And the problem is, it never triggered the call back 'func1' on line 3 when I select the PHAuthorizationStatusLimited, which is "select Photo";
And what's weird is, when I select "PHAuthorizationStatusAuthorized" which grant all photo access, it goes into line 3 without any problem!!!
Please help!!!!
My code is this simple:
And the problem is, it never triggered the call back 'func1' on line 3 when I select the PHAuthorizationStatusLimited, which is "select Photo";
And what's weird is, when I select "PHAuthorizationStatusAuthorized" which grant all photo access, it goes into line 3 without any problem!!!
Please help!!!!
Code Block [PHPhotoLibrary requestAuthorizationForAccessLevel:PHAccessLevelReadWrite handler:^(PHAuthorizationStatus status) { if (status == PHAuthorizationStatusLimited || status == PHAuthorizationStatusAuthorized) { //Func1; } else { //func2; } }]; }