Browse Source

Changed default modalPresentationStyle to system default - fullScreen

yogevbd 6 years ago
parent
commit
a2abe2b596
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/ios/RNNViewControllerPresenter.m

+ 1
- 1
lib/ios/RNNViewControllerPresenter.m View File

@@ -16,7 +16,7 @@
16 16
 	
17 17
 	UIViewController* viewController = self.bindedViewController;
18 18
 	[viewController rnn_setBackgroundImage:[options.backgroundImage getWithDefaultValue:nil]];
19
-	[viewController rnn_setModalPresentationStyle:[RCTConvert UIModalPresentationStyle:[options.modalPresentationStyle getWithDefaultValue:@"formSheet"]]];
19
+	[viewController rnn_setModalPresentationStyle:[RCTConvert UIModalPresentationStyle:[options.modalPresentationStyle getWithDefaultValue:@"fullScreen"]]];
20 20
 	[viewController rnn_setModalTransitionStyle:[RCTConvert UIModalTransitionStyle:[options.modalTransitionStyle getWithDefaultValue:@"coverVertical"]]];
21 21
 	[viewController rnn_setDrawBehindTopBar:[options.topBar.drawBehind getWithDefaultValue:NO]];
22 22
 	[viewController rnn_setNavigationItemTitle:[options.topBar.title.text getWithDefaultValue:nil]];