浏览代码

Changed default modalPresentationStyle to system default - fullScreen

yogevbd 5 年前
父节点
当前提交
a2abe2b596
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      lib/ios/RNNViewControllerPresenter.m

+ 1
- 1
lib/ios/RNNViewControllerPresenter.m 查看文件

@@ -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]];