Skip to content

Commit 8375473

Browse files
authored
Merge pull request #44 from PSPDFKit/rad/modal-presentation-style-ios-13
Force UIModalPresentationFullScreen on iOS 13
2 parents ea2532f + d22b44b commit 8375473

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ios/Classes/PspdfkitPlugin.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ - (void)handleMethodCall:(FlutterMethodCall*)call result:(FlutterResult)result {
6262
}
6363

6464
UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:self.pdfViewController];
65+
navigationController.modalPresentationStyle = UIModalPresentationFullScreen;
6566
UIViewController *presentingViewController = [UIApplication sharedApplication].delegate.window.rootViewController;
6667
[presentingViewController presentViewController:navigationController animated:YES completion:nil];
6768
result(@(YES));

0 commit comments

Comments
 (0)