SpringBoard

From iPhone Development Wiki
Jump to: navigation, search

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].

Sending messages to SpringBoard

Because SpringBoard inherits UIApplication you can send messages like this: [[SpringBoard sharedApplication] aMethod]

References