UIApplication

From iPhone Development Wiki
Revision as of 14:34, 4 October 2009 by KennyTM~ (talk | contribs) (Created page with '{{occlass|library=UIKit.framework}} UIApplication is a singleton object that represents the application. == Parameters for UIKit applications == UIApplicationMain recogniz…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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.

References