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.
2 parents 08d6a6d + 54f506d commit 2f9e131Copy full SHA for 2f9e131
ios/RNInAppBrowser.m
@@ -179,6 +179,9 @@ + (BOOL)requiresMainQueueSetup
179
UINavigationController *safariHackVC = [[UINavigationController alloc] initWithRootViewController:safariVC];
180
[safariHackVC setNavigationBarHidden:true animated:false];
181
182
+ // To disable "Swipe to dismiss" gesture which sometimes causes a bug where `safariViewControllerDidFinish`
183
+ // is not called.
184
+ safariVC.modalPresentationStyle = UIModalPresentationOverFullScreen;
185
safariHackVC.modalPresentationStyle = [self getPresentationStyle: modalPresentationStyle];
186
if(animated) {
187
safariHackVC.modalTransitionStyle = [self getTransitionStyle: modalTransitionStyle];
0 commit comments