Explorar el Código

VLCSettingsController: Passcode: Present in fullscreen

Soomin Lee hace 5 años
padre
commit
52fafc2fc1
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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];
         }
     }