mNo edit summary |
|||
Line 17: | Line 17: | ||
| Allow this app to receive system events which normally should be received by SpringBoard. | | Allow this app to receive system events which normally should be received by SpringBoard. | ||
|} | |} | ||
== Event recording == | |||
{{Main|UIApplication/Event recording}} | |||
UIApplication provides the <tt>-_addRecorder:</tt> and related methods to record user's events (as [[GSEvent]]s). Event playback is also supported, so it can be used as a macro system. | |||
== References == | == References == | ||
* Official reference: http://developer.apple.com/IPhone/library/documentation/UIKit/Reference/UIApplication_Class/Reference/Reference.html | * Official reference: http://developer.apple.com/IPhone/library/documentation/UIKit/Reference/UIApplication_Class/Reference/Reference.html | ||
* Extra header: http://github.com/kennytm/iphone-private-frameworks/blob/master/UIKit/UIApplication2.h | * Extra header: http://github.com/kennytm/iphone-private-frameworks/blob/master/UIKit/UIApplication2.h |
Revision as of 17:56, 10 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. |
Event recording
Main article: UIApplication/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.