Classes
iOSApplication
iOSApplication
Summary
Accessors
Methods
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