We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f0c191 commit 2a25f5fCopy full SHA for 2a25f5f
ios/PhotoLibrary/RNPermissionHandlerPhotoLibrary.m
@@ -66,7 +66,7 @@ - (void)openLimitedPhotoLibraryPickerWithResolver:(RCTPromiseResolveBlock _Nonnu
66
}
67
68
UIViewController* rootViewController = [[UIApplication sharedApplication].keyWindow rootViewController];
69
- [[PHPhotoLibrary sharedPhotoLibrary] presentLimitedLibraryPickerFromViewController:rootViewController];
+ [[PHPhotoLibrary sharedPhotoLibrary] presentLimitedLibraryPickerFromViewController:topViewController];
70
71
resolve(@(true));
72
} else {
0 commit comments