Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198
SBLockScreenViewController - iPhone Development Wiki


From iPhone Development Wiki

SBLockScreenViewController is the dedicated controller representing the lock screen, hosting an SBLockScreenView meant to be used in iOS 7 - iOS 9. In iOS 10 and later, SBDashBoardViewController takes place as the main controller, subclassing SBDashBoardPasscodeViewController for this specific purpose.


Accessing SBLockScreenViewController's SBLockScreenView (iOS 7 - 9)

SBLockScreenManager *manager = [%c(SBLockScreenManager) sharedInstance];
SBLockScreenViewController *lockScreenViewController = [manager lockScreenViewController];
SBLockScreenView *lockScreenView = [lockScreenViewController lockScreenView];