Skip to content

Commit 1b9b758

Browse files
authored
Merge pull request react-native-documents#31 from digidentity/fix-iphone-support
Crossing fingers
2 parents 57d1531 + 748c56e commit 1b9b758

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ios/RNDocumentPicker/RNDocumentPicker.m

+1-2
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ - (void)documentMenu:(UIDocumentMenuViewController *)documentMenu didPickDocumen
7171
documentPicker.modalPresentationStyle = UIModalPresentationFormSheet;
7272

7373
UIViewController *rootViewController = [[[[UIApplication sharedApplication]delegate] window] rootViewController];
74-
UIPopoverController *popup = [[UIPopoverController alloc] initWithContentViewController:documentPicker];
75-
74+
7675
while (rootViewController.modalViewController) {
7776
rootViewController = rootViewController.modalViewController;
7877
}

0 commit comments

Comments
 (0)