Przeglądaj źródła

VLCSettingsController: Passcode: Present in fullscreen

Soomin Lee 5 lat temu
rodzic
commit
52fafc2fc1
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      Sources/VLCSettingsController.m

+ 2 - 0
Sources/VLCSettingsController.m

@@ -141,6 +141,8 @@ NSString * const kVLCSectionTableHeaderViewIdentifier = @"VLCSectionTableHeaderV
             PAPasscodeViewController *passcodeLockController = [[PAPasscodeViewController alloc] initForAction:PasscodeActionSet];
             passcodeLockController.delegate = self;
             UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:passcodeLockController];
+            // Specify modal presentation style due to iOS 13 behaviour
+            navigationController.modalPresentationStyle = UIModalPresentationFullScreen;
             [self.navigationController presentViewController:navigationController animated:YES completion:nil];
         }
     }