Classes
iOSApplication
iOSApplication
Summary β
Accessors
Methods
- addCss
- applyCssClass
- createRootView
- getCssFileName
- getMainEntry
- getNativeApplication
- getOrientation
- getResources
- getRootView
- getSystemAppearance
- hasLaunched
- initRootView
- loadAppCss
- notifyLaunch
- orientation
- orientationChanged
- resetRootView
- run
- setAutoSystemAppearanceChanged
- setCssFileName
- setInBackground
- setMaxRefreshRate
- setOrientation
- setResources
- setSuspended
- setSystemAppearance
- systemAppearance
- systemAppearanceChanged
Accessors β
delegate β
The [UIApplicationDelegate](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplicationDelegate_Protocol/index.html) class.
Returns any
nativeApp β
The [UIApplication](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplication_Class/index.html).
Returns UIApplication
rootController β
The root view controller for the application.
Returns UIViewController
window β
Methods β
addNotificationObserver β
addNotificationObserver(
notificationName: string,
onReceiveCallback: (notification:NSNotification) =>void
): NotificationObserver
Adds an observer to the default notification center for the specified notification.
For more information, please visit 'https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSNotificationCenter_Class/#//apple_ref/occ/instm/NSNotificationCenter/addObserver:selector:name:object:'
Parameter Default Description
notificationName
string
A string containing the name of the notification.
onReceiveCallback
(notification: NSNotification) => void
A callback function that will be called each time the observer receives a notification.
Returns NotificationObserver
removeNotificationObserver β
Removes the observer for the specified notification from the default notification center.
For more information, please visit 'https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSNotificationCenter_Class/#//apple_ref/occ/instm/NSNotificationCenter/addObserver:selector:name:object:'
Parameter Default Description
observer
any
The observer that was returned from the addNotificationObserver method.
notificationName
string
A string containing the name of the notification.
Returns any
- Previous
- XmlParser
- Next
- ActionOptions