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
SpringBoard (Class): Difference between revisions - iPhone Development Wiki

SpringBoard (Class): Difference between revisions

From iPhone Development Wiki
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

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