Преглед на файлове

VLCSettingsController: Passcode: Present in fullscreen

Soomin Lee преди 5 години
родител
ревизия
52fafc2fc1
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  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];
         }
     }