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 17:34, 12 October 2009 by KennyTM~ (talk | contribs)

UIApplication is a singleton object that represents the application.

Parameters for UIKit applications

UIApplicationMain recognizes the following these special flags:

Flag Purpose
-BuildDefaultPNG Write the default PNG image to ~/Library/Caches/AppSnapshots/BundleID.png
(by calling -[UIApplication _writeApplicationDefaultPNGSnapshot] on start up).
-RegisterForSystemEvents Allow this app to receive system events which normally should be received by SpringBoard.

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