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

UIApplication

From iPhone Development Wiki
Revision as of 09:05, 12 December 2009 by KennyTM~ (talk | contribs)

UIApplication is a singleton object that represents the application.

UIApp

Signature extern UIApplication* UIApp;
Available in 2.0 –

The method +[UIApplication sharedInstance] is equivalent to using external symbol UIApp. The latter is often used in debugging environments such as Cycript for convenience.

Event recording

UIApplication provides the -_addRecorder: and related methods to record user's events (as GSEvents). Event playback is also supported, so it can be used as a macro system.

References