Explorar o código

VLCSettingsController: Passcode: Present in fullscreen

Soomin Lee %!s(int64=5) %!d(string=hai) anos
pai
achega
52fafc2fc1
Modificáronse 1 ficheiros con 2 adicións e 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];
         }
     }