m (Created page with '{{about|the Objective-C class|the application|SpringBoard.app}} SpringBoard is the singleton class that manages the {{applink|SpringBoard}} application. == References == * …') |
No edit summary |
||
Line 2: | Line 2: | ||
[[SpringBoard]] is the singleton class that manages the {{applink|SpringBoard}} application. | [[SpringBoard]] is the singleton class that manages the {{applink|SpringBoard}} application. | ||
== Monitoring Orientation of Top App == | |||
Whenever the orientation of the top application may be changed, <tt>-[SpringBoard noteUIOrientationChanged:display:]</tt> will be called. Therefore, you can hook this method to be notified of this info. The orientation (as angle in degrees) can be received with <tt>-[SpringBoard UIOrientation]</tt>. | |||
== References == | == References == |
Revision as of 20:48, 4 November 2009
This article is about the Objective-C class. For the application, see SpringBoard.app.
SpringBoard is the singleton class that manages the SpringBoard application.
Monitoring Orientation of Top App
Whenever the orientation of the top application may be changed, -[SpringBoard noteUIOrientationChanged:display:] will be called. Therefore, you can hook this method to be notified of this info. The orientation (as angle in degrees) can be received with -[SpringBoard UIOrientation].
References
- Header: http://github.com/kennytm/iphone-private-frameworks/blob/master/SpringBoard/SpringBoard-Class.h