(Created page with '{{occlass|library=UIKit.framework}} UIApplication is a singleton object that represents the application. == Parameters for UIKit applications == UIApplicationMain recogniz…') |
|||
Line 12: | Line 12: | ||
|- | |- | ||
| <tt>-BuildDefaultPNG</tt> | | <tt>-BuildDefaultPNG</tt> | ||
| Write the default PNG image to <tt>~/Library/Caches/AppSnapshots/''BundleID''.png</tt> (by calling <tt>-[UIApplication _writeApplicationDefaultPNGSnapshot]</tt> on start up). | | Write the default PNG image to <tt>~/Library/Caches/AppSnapshots/''BundleID''.png</tt><br />(by calling <tt>-[UIApplication _writeApplicationDefaultPNGSnapshot]</tt> on start up). | ||
|- | |- | ||
| <tt>-RegisterForSystemEvents</tt> | | <tt>-RegisterForSystemEvents</tt> |
Revision as of 14:35, 4 October 2009
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. |