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
 	
16
 	
17
 	UIViewController* viewController = self.bindedViewController;
17
 	UIViewController* viewController = self.bindedViewController;
18
 	[viewController rnn_setBackgroundImage:[options.backgroundImage getWithDefaultValue:nil]];
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
 	[viewController rnn_setModalTransitionStyle:[RCTConvert UIModalTransitionStyle:[options.modalTransitionStyle getWithDefaultValue:@"coverVertical"]]];
20
 	[viewController rnn_setModalTransitionStyle:[RCTConvert UIModalTransitionStyle:[options.modalTransitionStyle getWithDefaultValue:@"coverVertical"]]];
21
 	[viewController rnn_setDrawBehindTopBar:[options.topBar.drawBehind getWithDefaultValue:NO]];
21
 	[viewController rnn_setDrawBehindTopBar:[options.topBar.drawBehind getWithDefaultValue:NO]];
22
 	[viewController rnn_setNavigationItemTitle:[options.topBar.title.text getWithDefaultValue:nil]];
22
 	[viewController rnn_setNavigationItemTitle:[options.topBar.title.text getWithDefaultValue:nil]];