SBLockScreenViewController

From iPhone Development Wiki
Revision as of 11:49, 12 March 2015 by PoomSmart (talk | contribs)
Jump to: navigation, search

SBLockScreenViewController is the controller representing the lockscreen. It hosts an SBLockScreenView. Available in iOS 7+.

Examples

Accessing SBLockScreenViewController's SBLockScreenView

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

References