iOS Guides | Samples

MonoTouch.UIKit.UIApplicationDelegate_Extensions Class

Extension methods to the IUIApplicationDelegate interface to support all the methods from the UIApplicationDelegate protocol.

See Also: UIApplicationDelegate_Extensions

Syntax

public static class UIApplicationDelegate_Extensions

Remarks

The extension methods for IUIApplicationDelegate allow developers to treat instances of the interface as having all the optional methods of the original UIApplicationDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.UIApplicationDelegate_Extensions are listed below.

See Also: Object

Public Methods

static
AccessibilityPerformMagicTap(this IUIApplicationDelegate) : Boolean
Performs the most important action of the app. Often, this is toggling the most important state of the app.
static
ApplicationSignificantTimeChange(this IUIApplicationDelegate, UIApplication)
Indicates a significant change in time, such as midnight, change to Daylight Savings, or a shift in timezone.
static
ChangedStatusBarFrame(this IUIApplicationDelegate, UIApplication, RectangleF)
Indicates that the frame of the status bar has changed.
static
ContinueUserActivity(this IUIApplicationDelegate, UIApplication, NSUserActivity, UIApplicationRestorationHandler) : Boolean
Informs the app that there is data associated with continuing a task specified as a NSUserActivity object, and then returns whether the app continued the activity.
static
DidChangeStatusBarOrientation(this IUIApplicationDelegate, UIApplication, UIInterfaceOrientation)
Indicates that the orientation of the status bar has changed.
static
DidDecodeRestorableState(this IUIApplicationDelegate, UIApplication, NSCoder)
Indicates that the app should restore highest-level state.
static
DidEnterBackground(this IUIApplicationDelegate, UIApplication)
Indicates that the application has entered the background.
static
DidFailToContinueUserActivitiy(this IUIApplicationDelegate, UIApplication, String, NSError)
Informs the app that the activity of the userActivityType type could not be continued, and specifies a error as the reason for the failure.
static
DidReceiveRemoteNotification(this IUIApplicationDelegate, UIApplication, NSDictionary, Action<UIBackgroundFetchResult>)
Indicates that the app received a remote notification.
static
DidRegisterUserNotificationSettings(this IUIApplicationDelegate, UIApplication, UIUserNotificationSettings)
Informs the app of the type of notifications it can use, as a UIUserNotificationSettings object.
static
FailedToRegisterForRemoteNotifications(this IUIApplicationDelegate, UIApplication, NSError)
Indicates that Apple Push Service did not successfully compete the registration process.
static
FinishedLaunching(this IUIApplicationDelegate, UIApplication)
The application has finished launching.
static
FinishedLaunching(this IUIApplicationDelegate, UIApplication, NSDictionary) : Boolean
Indicates that launching has finished and the app will shortly begin running.
static
GetSupportedInterfaceOrientations(this IUIApplicationDelegate, UIApplication, UIWindow) : UIInterfaceOrientationMask
The interface orientations supported by the app.
static
GetViewController(this IUIApplicationDelegate, UIApplication, String[], NSCoder) : UIViewController
Retrieves the UIViewController identified by the last value in the restorationIdentifierComponents parameter.
static
GetWindow(this IUIApplicationDelegate) : UIWindow
static
HandleAction(this IUIApplicationDelegate, UIApplication, String, NSDictionary, Action)
Informs the app of a custom action to perform based on a push notification, and includes the actionIdentifier value, remoteNoticationInfo data from the notification, and completionHandler for the app developer to run after performing the action.
static
HandleAction(this IUIApplicationDelegate, UIApplication, String, UILocalNotification, Action)
Informs the app that the user selected an action identified by the actionIdentifier value from an alert of a UILocalNotification object, and executes the completionHandler block after it completes the action.
static
HandleAction(this IUIApplicationDelegate, UIApplication, String, NSDictionary, NSDictionary, Action)
Informs the app of a custom action to perform based on a remote notification, and includes the actionIdentifier value, remoteNoticationInfo data from the notification, and completionHandler for the app developer to run after performing the action.
static
HandleAction(this IUIApplicationDelegate, UIApplication, String, UILocalNotification, NSDictionary, Action)
Informs the app of a custom action to perform based on a local notification, and includes the actionIdentifier value, responseInfo data from the notification, and completionHandler for the app developer to run after performing the action.
static
HandleEventsForBackgroundUrl(this IUIApplicationDelegate, UIApplication, String, NSAction)
Indicates that events related to a URL session are awaiting processing.
static
HandleOpenURL(this IUIApplicationDelegate, UIApplication, NSUrl) : Boolean
Developers should use UIApplicationDelegate.OpenUrl rather than this deprecated method.
static
HandleWatchKitExtensionRequest(this IUIApplicationDelegate, UIApplication, NSDictionary, Action<MonoTouch.Foundation.NSDictionary>)
A watchkit extension has made a request.
static
OnActivated(this IUIApplicationDelegate, UIApplication)
The app has moved from the inactive to actie state.
static
OnResignActivation(this IUIApplicationDelegate, UIApplication)
The app is about to move from the active state to the inactive state.
static
OpenUrl(this IUIApplicationDelegate, UIApplication, NSUrl, NSDictionary) : Boolean
Indicates that the application should open the specified url with context from options.
static
OpenUrl(this IUIApplicationDelegate, UIApplication, NSUrl, String, NSObject) : Boolean
Loads a resource from the specified URL.
static
PerformActionForShortcutItem(this IUIApplicationDelegate, UIApplication, UIApplicationShortcutItem, UIOperationHandler)
Called by the system when the user initiates a Home screen quick action, unless the interaction was handled in UIApplicationDelegate.WillFinishLaunching or UIApplicationDelegate.DidFinishLaunching.
static
PerformFetch(this IUIApplicationDelegate, UIApplication, Action<UIBackgroundFetchResult>)
Indicates that the application can begin a fetch operation if it has data to download.
static
ProtectedDataDidBecomeAvailable(this IUIApplicationDelegate, UIApplication)
Protected files are now available.
static
ProtectedDataWillBecomeUnavailable(this IUIApplicationDelegate, UIApplication)
Indicates that protected files are about to be encrypted and unavailable for reading.
static
ReceivedLocalNotification(this IUIApplicationDelegate, UIApplication, UILocalNotification)
Indicates that the app received a local notification.
static
ReceivedRemoteNotification(this IUIApplicationDelegate, UIApplication, NSDictionary)
Indicates that the app received a remote notification.
static
ReceiveMemoryWarning(this IUIApplicationDelegate, UIApplication)
The app has received a low-memory warning from the system.
static
RegisteredForRemoteNotifications(this IUIApplicationDelegate, UIApplication, NSData)
Indicates that the device successfully registered with Apple Push Service.
static
SetWindow(this IUIApplicationDelegate, UIWindow)
static
ShouldAllowExtensionPointIdentifier(this IUIApplicationDelegate, UIApplication, NSString) : Boolean
Requests permission from the app to run app extensions based on the extension point identified by extensionPointIdentifier.
static
ShouldRequestHealthAuthorization(this IUIApplicationDelegate, UIApplication)
The system calls this method when the developer's app should ask the user for access to HealthKit data.
static
ShouldRestoreApplicationState(this IUIApplicationDelegate, UIApplication, NSCoder) : Boolean
Whether the application should restore saved state information.
static
ShouldSaveApplicationState(this IUIApplicationDelegate, UIApplication, NSCoder) : Boolean
Whether the application should save application state information.
static
UserActivityUpdated(this IUIApplicationDelegate, NSUserActivity)
Informs the app that the NSUserActivity object in userActivity has been updated.
static
UserActivityUpdated(this IUIApplicationDelegate, UIApplication, NSUserActivity)
Informs the app that the NSUserActivity object in userActivity has been updated.
static
UserDidAcceptCloudKitShare(this IUIApplicationDelegate, UIApplication, CKShareMetadata)
static
WillChangeStatusBarFrame(this IUIApplicationDelegate, UIApplication, RectangleF)
Indicates that the frame of the status bar is about to change.
static
WillChangeStatusBarOrientation(this IUIApplicationDelegate, UIApplication, UIInterfaceOrientation, Double)
Indicates that the orientation of the status bar is about to change.
static
WillContinueUserActivity(this IUIApplicationDelegate, UIApplication, String) : Boolean
Informs the app that the user is attempting to continue a userActivityType action for which data might not be available, and returns to notify the user that the app will continue the activity.
static
WillEncodeRestorableState(this IUIApplicationDelegate, UIApplication, NSCoder)
Indicates that the app is about to store application state data.
static
WillEnterForeground(this IUIApplicationDelegate, UIApplication)
Indicates that the application is about to enter the foreground.
static
WillFinishLaunching(this IUIApplicationDelegate, UIApplication, NSDictionary) : Boolean
Indicates that the app is about to finish its launching procedures.
static
WillTerminate(this IUIApplicationDelegate, UIApplication)
Indicates that the app is about to terminate.