SBApplication

From iPhone Development Wiki
Revision as of 19:49, 22 October 2009 by KennyTM~ (talk | contribs) (Created page with 'SBApplication is a class representing the application screen on the {{applink|SpringBoard}}. SBApplication is a subclass of SBDisplay. See SBDisplay for more info. =…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

SBApplication is a class representing the application screen on the SpringBoard. SBApplication is a subclass of SBDisplay. See SBDisplay for more info.

Retrieving an instance of SBApplication

To retrieve a known instance, you must go through SBApplicationController. For example, if the display ID of the application is known, you can use:

SBApplication* app = [[SBApplicationController sharedInstance] applicationWithDisplayIdentifier:@"com.yourcompany.appname"];