Pārlūkot izejas kodu

Changed default modalPresentationStyle to system default - fullScreen

yogevbd 5 gadus atpakaļ
vecāks
revīzija
a2abe2b596
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      lib/ios/RNNViewControllerPresenter.m

+ 1
- 1
lib/ios/RNNViewControllerPresenter.m Parādīt failu

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