(Gave it links to recent (useful) headers (the linked one is 4 years old for iOS 3.2)) |
m (→References) |
||
(6 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
'''SBAwayController''' is the controller representing the lockscreen. It hosts an [[SBAwayView]]. | '''SBAwayController''' is the controller representing the lockscreen. It hosts an [[SBAwayView]]. It is replaced by [[SBLockScreenViewController]] in iOS 7. | ||
== Examples == | == Examples == | ||
Line 6: | Line 6: | ||
[[%c(SBAwayController) sharedAwayController] awayView]; | [[%c(SBAwayController) sharedAwayController] awayView]; | ||
</source> | </source> | ||
=== More Examples === | |||
{| class="wikitable" | |||
|- | |||
! Project | |||
! Author | |||
! Last Update | |||
|- | |||
| [https://github.com/nickfrey/AnyLockApp AnyLockApp] | |||
| Nick Frey | |||
| 2011 | |||
|- | |||
| [https://github.com/iHeli0s/LSAlwaysShowMediaControls LSAlwaysShowMediaControls] | |||
| iHeli0s | |||
| 2012 | |||
|} | |||
Finding more examples: https://github.com/search?q=extension%3Axm+SBAwayController&type=Code&ref=searchresults | |||
== References == | == References == | ||
Header iOS 5: https://github.com/MarcoSero/SpringBoard-iOS-5.0/blob/master/SBAwayController.h | |||
Header | * Header iOS 6: https://github.com/caughtinflux/iOS-6-SpringBoard-Headers/blob/master/SBAwayController.h | ||
{{ | * Header iOS 5: https://github.com/MarcoSero/SpringBoard-iOS-5.0/blob/master/SBAwayController.h | ||
* Header: http://github.com/kennytm/iphone-private-frameworks/blob/master/SpringBoard/SBAwayController.h | |||
{{occlass|library=SpringBoard.app|navbox=1}} |
Latest revision as of 14:06, 11 August 2015
SBAwayController is the controller representing the lockscreen. It hosts an SBAwayView. It is replaced by SBLockScreenViewController in iOS 7.
Examples
Accessing SBAwayController's SBAwayView
[[%c(SBAwayController) sharedAwayController] awayView];
More Examples
Project | Author | Last Update |
---|---|---|
AnyLockApp | Nick Frey | 2011 |
LSAlwaysShowMediaControls | iHeli0s | 2012 |
Finding more examples: https://github.com/search?q=extension%3Axm+SBAwayController&type=Code&ref=searchresults
References
- Header iOS 6: https://github.com/caughtinflux/iOS-6-SpringBoard-Headers/blob/master/SBAwayController.h
- Header iOS 5: https://github.com/MarcoSero/SpringBoard-iOS-5.0/blob/master/SBAwayController.h
- Header: http://github.com/kennytm/iphone-private-frameworks/blob/master/SpringBoard/SBAwayController.h