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
SBAwayController: Difference between revisions - iPhone Development Wiki

SBAwayController: Difference between revisions

From iPhone Development Wiki
(Fixed formatting)
 
(5 intermediate revisions by 4 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 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 iOS 5: https://github.com/MarcoSero/SpringBoard-iOS-5.0/blob/master/SBAwayController.h
* Header iOS 6: https://github.com/caughtinflux/iOS-6-SpringBoard-Headers/blob/master/SBAwayController.h
* Header: http://github.com/kennytm/iphone-private-frameworks/blob/master/SpringBoard/SBAwayController.h
{{IPFHeader|SpringBoard|.app}}
 
{{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