The [UIApplicationDelegate](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplicationDelegate_Protocol/index.html) class.
Returns any
get nativeApp(): UIApplication
The [UIApplication](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplication_Class/index.html).
Returns UIApplication
get rootController(): UIViewController
The root view controller for the application.
Returns UIViewController
The key window.
Returns UIWindow
Methods 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 DescriptionnotificationName
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 removeNotificationObserver(observer: any, notificationName: string): any
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 Descriptionobserver
any
The observer that was returned from the addNotificationObserver method.
notificationName
string
A string containing the name of the notification.
Returns any
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4