Difference between revisions of "SBAwayController"

From iPhone Development Wiki
Jump to: navigation, search
m (References)
 
(8 intermediate revisions by 6 users not shown)
Line 1: Line 1:
'''SBAwayController''' is the Controller for the LockScreen or [[SBAwayView]]
+
'''SBAwayController''' is the controller representing the lockscreen. It hosts an [[SBAwayView]]. It is replaced by [[SBLockScreenViewController]] in iOS 7.
  
Accessing SBAwayView with SBAwayController
+
== Examples ==
<source lang="objc">
+
=== Accessing SBAwayController's SBAwayView ===
 +
<source lang="logos">
 +
[[%c(SBAwayController) sharedAwayController] awayView];
 +
</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
  
[[%c(SBAwayController) sharedAwayController] awayView];
+
== 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
  
</source>
+
{{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