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

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)

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"];