diff --git a/ios/RCTPSPDFKit/RCTPSPDFKitManager.m b/ios/RCTPSPDFKit/RCTPSPDFKitManager.m index 1e41c2ae..e63d07cf 100644 --- a/ios/RCTPSPDFKit/RCTPSPDFKitManager.m +++ b/ios/RCTPSPDFKit/RCTPSPDFKitManager.m @@ -31,6 +31,7 @@ @implementation RCTPSPDFKitManager UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:pdfViewController]; + navigationController.modalPresentationStyle = UIModalPresentationFullScreen; UIViewController *presentingViewController = RCTPresentedViewController(); [presentingViewController presentViewController:navigationController animated:YES completion:nil]; } diff --git a/package-lock.json b/package-lock.json index 4441fa1b..9a4cf32b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "react-native-pspdfkit", - "version": "1.26.0", + "version": "1.26.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 2d007fc7..8e2c1d82 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-pspdfkit", - "version": "1.26.0", + "version": "1.26.1", "description": "A React Native module for the PSPDFKit library.", "keywords": [ "react native", diff --git a/samples/Catalog/package.json b/samples/Catalog/package.json index 4c33aeae..23258eee 100644 --- a/samples/Catalog/package.json +++ b/samples/Catalog/package.json @@ -1,6 +1,6 @@ { "name": "Catalog", - "version": "1.26.0", + "version": "1.26.1", "private": true, "scripts": { "start": "react-native start",