UIApplicationDelegate Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A class used to receive events raised by a UIApplication.
[Foundation.Protocol]
[Foundation.Register("UIApplicationDelegate", false)]
public class UIApplicationDelegate : Foundation.NSObject, IDisposable, UIKit.IUIApplicationDelegate
type UIApplicationDelegate = class
inherit NSObject
interface IUIApplicationDelegate
interface INativeObject
interface IDisposable
- Inheritance
- Attributes
- Implements
Remarks
A strongly typed implementation of a class that can be used to respond to events raised by the UIApplication.
Application developers will generally override the FinishedLaunching(IUIApplicationDelegate, UIApplication, NSDictionary) method, configure the application's main UIWindow, instantiate the top-level UIViewController, and assign it to the RootViewController.
This is what a minimal UIApplicationDelegate class looks like:
[Register ("AppDelegate")]
public partial class AppDelegate : UIApplicationDelegate
{
UIWindow window;
public override bool FinishedLaunching (UIApplication app, NSDictionary options)
{
window = new UIWindow (UIScreen.MainScreen.Bounds);
window.RootViewController = new UIViewController ();
window.MakeKeyAndVisible ();
return true;
}
}
The UIApplicationDelegate provides overridable methods for the entire application lifecycle:
Applications have four major modes:
- Launching, involving the methods WillFinishLaunching(UIApplication, NSDictionary), FinishedLaunching(IUIApplicationDelegate, UIApplication, NSDictionary), and perhaps M:UIKit.UIApplication.OpenURL* (if the application was launched or foregrounded with M:UIKit.UIApplication.OpenURL*).:
- Foreground processing, book-ended by the methods OnActivated(UIApplication) and OnResignActivation(UIApplication).:
- Background processing or suspension, which begins with a call to DidEnterBackground(UIApplication) and ends when the application returns to the foreground after executing WillEnterForeground(UIApplication) or when the application is about to terminate.:
- Terminating, which is preceded by a call to WillTerminate(UIApplication).:
As mentioned previously, the most commonly overridden method is FinishedLaunching(IUIApplicationDelegate, UIApplication, NSDictionary), which is the standard place to initialize the application's UIWindow and that window's RootViewController.
iOS applications should be designed to be long-lived, with many transitions between foreground processing and being suspended or backgrounded.
The UIApplicationDelegate of an application is typically set as one of few, or only, things done by the application's Main
method. The UIApplicationDelegate exports a string using the RegisterAttribute and this string is used as the delegateClassName
argument to the M:UIKit.UIApplication.Main(string[],string,string) method, as shown in the following example:
public class Application
{
static void Main(string[] args)
{
UIApplication.Main(args, null, "AppDelegate");
}
}
[Register ("AppDelegate")]
public partial class AppDelegate : UIApplicationDelegate
{
//...etc
}
Application's that are launched from a XIB or storyboard use the UIApplicationDelegate specified in the XIB or storyboard.
Constructors
UIApplicationDelegate() |
Default constructor that initializes a new instance of this class with no parameters. |
UIApplicationDelegate(IntPtr) |
A constructor used when creating managed representations of unmanaged objects; Called by the runtime. |
UIApplicationDelegate(NSObjectFlag) |
Constructor to call on derived classes to skip initialization and merely allocate the object. |
Properties
Class | (Inherited from NSObject) |
ClassHandle |
The handle for this class. (Inherited from NSObject) |
DebugDescription |
A developer-meaningful description of this object. (Inherited from NSObject) |
Description |
Description of the object, the Objective-C version of ToString. (Inherited from NSObject) |
Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from NSObject) |
IsDirectBinding | (Inherited from NSObject) |
IsProxy | (Inherited from NSObject) |
RetainCount |
Returns the current Objective-C retain count for the object. (Inherited from NSObject) |
Self | (Inherited from NSObject) |
Superclass | (Inherited from NSObject) |
SuperHandle |
Handle used to represent the methods in the base class for this NSObject. (Inherited from NSObject) |
Window |
The window used to display the app on the device's main screen. |
Zone | (Inherited from NSObject) |
Methods
AccessibilityPerformMagicTap() |
Performs the most important action of the app. Often, this is toggling the most important state of the app. |
AddObserver(NSObject, NSString, NSKeyValueObservingOptions, IntPtr) |
Registers an object for being observed externally (using NSString keyPath). Observed changes are dispatched to the observer’s object ObserveValue(NSString, NSObject, NSDictionary, IntPtr) method. (Inherited from NSObject) |
AddObserver(NSObject, String, NSKeyValueObservingOptions, IntPtr) |
Registers an object for being observed externally (using string keyPath). Observed changes are dispatched to the observer’s object ObserveValue(NSString, NSObject, NSDictionary, IntPtr) method. (Inherited from NSObject) |
AddObserver(NSString, NSKeyValueObservingOptions, Action<NSObservedChange>) |
Registers an object for being observed externally using an arbitrary method. (Inherited from NSObject) |
AddObserver(String, NSKeyValueObservingOptions, Action<NSObservedChange>) |
Registers an object for being observed externally using an arbitrary method. (Inherited from NSObject) |
ApplicationSignificantTimeChange(UIApplication) |
Indicates a significant shift in time, such as midnight, carrier-changed time, or the start or stop of Daylight Savings. |
AwakeFromNib() |
Called after the object has been loaded from the nib file. Overriders must call base.AwakeFromNib(). (Inherited from NSObject) |
BeginInvokeOnMainThread(Action) | (Inherited from NSObject) |
BeginInvokeOnMainThread(Selector, NSObject) |
Invokes asynchrously the specified code on the main UI thread. (Inherited from NSObject) |
Bind(NSString, NSObject, String, NSDictionary) | (Inherited from NSObject) |
Bind(String, NSObject, String, NSDictionary) |
Obsolete.
(Inherited from NSObject)
|
BindingInfo(String) |
Obsolete.
(Inherited from NSObject)
|
BindingOptionDescriptions(String) |
Obsolete.
(Inherited from NSObject)
|
BindingValueClass(String) |
Obsolete.
(Inherited from NSObject)
|
ChangedStatusBarFrame(UIApplication, CGRect) |
Indicates that the Frame of the status bar has changed. |
CommitEditing() | (Inherited from NSObject) |
CommitEditing(NSObject, Selector, IntPtr) | (Inherited from NSObject) |
ConformsToProtocol(IntPtr) |
Invoked to determine if this object implements the specified protocol. (Inherited from NSObject) |
ContinueUserActivity(UIApplication, NSUserActivity, UIApplicationRestorationHandler) |
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. |
Copy() |
Performs a copy of the underlying Objective-C object. (Inherited from NSObject) |
DangerousAutorelease() | (Inherited from NSObject) |
DangerousRelease() | (Inherited from NSObject) |
DangerousRetain() | (Inherited from NSObject) |
DidChange(NSKeyValueChange, NSIndexSet, NSString) |
Indicates a change occurred to the indexes for a to-many relationship. (Inherited from NSObject) |
DidChange(NSString, NSKeyValueSetMutationKind, NSSet) | (Inherited from NSObject) |
DidChangeStatusBarOrientation(UIApplication, UIInterfaceOrientation) |
Indicates that the orientation of the status bar has changed. |
DidChangeValue(String) |
Indicates that a change occurred on the specified key. (Inherited from NSObject) |
DidDecodeRestorableState(UIApplication, NSCoder) |
Indicates that the app should restore highest-level state. |
DidEnterBackground(UIApplication) |
Indicates that the application has entered the background. |
DidFailToContinueUserActivitiy(UIApplication, String, NSError) |
Informs the app that the activity of the |
DidReceiveRemoteNotification(UIApplication, NSDictionary, Action<UIBackgroundFetchResult>) |
Remote background notification support: Invoked by operating system when your application received a remote notification. |
DidRegisterUserNotificationSettings(UIApplication, UIUserNotificationSettings) |
Developers should not use this deprecated method. Developers should use 'UNUserNotificationCenter.RequestAuthorization' instead. |
Dispose() |
Releases the resources used by the NSObject object. (Inherited from NSObject) |
Dispose(Boolean) |
Releases the resources used by the NSObject object. (Inherited from NSObject) |
DoesNotRecognizeSelector(Selector) |
Indicates that this object does not recognize the specified selector. (Inherited from NSObject) |
Equals(NSObject) | (Inherited from NSObject) |
Equals(Object) | (Inherited from NSObject) |
ExposedBindings() | (Inherited from NSObject) |
FailedToRegisterForRemoteNotifications(UIApplication, NSError) |
Indicates that a call to RegisterForRemoteNotifications() failed. |
FinishedLaunching(UIApplication, NSDictionary) |
Method invoked after the application has launched to configure the main window and view controller. |
FinishedLaunching(UIApplication) |
Method invoked after the application has launched to configure the main window and view controller. |
GetBindingInfo(NSString) | (Inherited from NSObject) |
GetBindingOptionDescriptions(NSString) | (Inherited from NSObject) |
GetBindingValueClass(NSString) | (Inherited from NSObject) |
GetDictionaryOfValuesFromKeys(NSString[]) |
Retrieves the values of the specified keys. (Inherited from NSObject) |
GetHashCode() |
Generates a hash code for the current instance. (Inherited from NSObject) |
GetMethodForSelector(Selector) | (Inherited from NSObject) |
GetNativeField(String) |
Obsolete.
(Inherited from NSObject)
|
GetNativeHash() | (Inherited from NSObject) |
GetSupportedInterfaceOrientations(UIApplication, UIWindow) |
Returns a bit-mask of supported orientations for the specified |
GetViewController(UIApplication, String[], NSCoder) |
Retrieve the UIViewController identified by the |
HandleAction(UIApplication, String, NSDictionary, Action) |
Informs the app of a custom action to perform based on a push notification, and includes the |
HandleAction(UIApplication, String, NSDictionary, NSDictionary, Action) |
Informs the app of a custom action to perform based on a remote notification, and includes the |
HandleAction(UIApplication, String, UILocalNotification, Action) |
Informs the app that the user selected an action identified by the |
HandleAction(UIApplication, String, UILocalNotification, NSDictionary, Action) |
Informs the app of a custom action to perform based on a local notification, and includes the |
HandleEventsForBackgroundUrl(UIApplication, String, Action) |
All background transfers in |
HandleIntent(UIApplication, INIntent, Action<INIntentResponse>) |
The system is requesting that the application handle the specified |
HandleOpenURL(UIApplication, NSUrl) |
Application developers should not use this deprecated method but use M:UIKit.UIApplicationDelegate.OpenUrl* instead. |
HandleWatchKitExtensionRequest(UIApplication, NSDictionary, Action<NSDictionary>) |
A watchkit extension has made a request. |
Init() | (Inherited from NSObject) |
InitializeHandle(IntPtr, String) | (Inherited from NSObject) |
InitializeHandle(IntPtr) | (Inherited from NSObject) |
Invoke(Action, Double) | (Inherited from NSObject) |
Invoke(Action, TimeSpan) | (Inherited from NSObject) |
InvokeOnMainThread(Action) | (Inherited from NSObject) |
InvokeOnMainThread(Selector, NSObject) |
Invokes synchrously the specified code on the main UI thread. (Inherited from NSObject) |
IsEqual(NSObject) | (Inherited from NSObject) |
IsKindOfClass(Class) | (Inherited from NSObject) |
IsMemberOfClass(Class) | (Inherited from NSObject) |
MarkDirty() |
Promotes a regular peer object (IsDirectBinding is true) into a toggleref object. (Inherited from NSObject) |
MutableCopy() |
Creates a mutable copy of the specified NSObject. (Inherited from NSObject) |
ObjectDidEndEditing(NSObject) | (Inherited from NSObject) |
ObserveValue(NSString, NSObject, NSDictionary, IntPtr) |
Indicates that the value at the specified keyPath relative to this object has changed. (Inherited from NSObject) |
OnActivated(UIApplication) |
Called when the application is launched and every time the app returns to the foreground. |
OnResignActivation(UIApplication) |
Called when the application is about to enter the background, be suspended, or when the user receives an interruption such as a phone call or text. |
OpenUrl(UIApplication, NSUrl, NSDictionary) |
Indicates that the application should open the specified |
OpenUrl(UIApplication, NSUrl, String, NSObject) |
Indicates that the application should open the specified |
OpenUrl(UIApplication, NSUrl, UIApplicationOpenUrlOptions) |
Indicates that the application should open the specified |
PerformActionForShortcutItem(UIApplication, UIApplicationShortcutItem, UIOperationHandler) |
Called by the system when the user initiates a Home screen quick action, unless the interaction was handled in WillFinishLaunching(UIApplication, NSDictionary) or M:UIKit.UIApplicationDelegate.DidFinishLaunching*. |
PerformFetch(UIApplication, Action<UIBackgroundFetchResult>) |
Background support: Invoked by the operating system to allow an application to download data. |
PerformSelector(Selector, NSObject, Double, NSString[]) | (Inherited from NSObject) |
PerformSelector(Selector, NSObject, Double) |
Invokes the selector on the current instance and if the |
PerformSelector(Selector, NSObject, NSObject) | (Inherited from NSObject) |
PerformSelector(Selector, NSObject) | (Inherited from NSObject) |
PerformSelector(Selector, NSThread, NSObject, Boolean, NSString[]) | (Inherited from NSObject) |
PerformSelector(Selector, NSThread, NSObject, Boolean) | (Inherited from NSObject) |
PerformSelector(Selector) | (Inherited from NSObject) |
PrepareForInterfaceBuilder() | (Inherited from NSObject) |
ProtectedDataDidBecomeAvailable(UIApplication) |
Indicates that the device was unlocked and previously-encrypted data is now available. |
ProtectedDataWillBecomeUnavailable(UIApplication) |
Indicates that the device is being locked and that protected files will become unavailable. |
ReceivedLocalNotification(UIApplication, UILocalNotification) |
Indicates that the application received a UILocalNotification. |
ReceivedRemoteNotification(UIApplication, NSDictionary) |
Indicates that the application received a remote notification. |
ReceiveMemoryWarning(UIApplication) |
The app has received a low-memory warning from the system. |
RegisteredForRemoteNotifications(UIApplication, NSData) |
Indicates that a call to RegisterForRemoteNotifications() succeeded. |
RemoveObserver(NSObject, NSString, IntPtr) |
Stops the specified observer from receiving further notifications of changed values for the specified keyPath and context. (Inherited from NSObject) |
RemoveObserver(NSObject, NSString) |
Stops the specified observer from receiving further notifications of changed values for the specified keyPath. (Inherited from NSObject) |
RemoveObserver(NSObject, String, IntPtr) |
Stops the specified observer from receiving further notifications of changed values for the specified keyPath and context. (Inherited from NSObject) |
RemoveObserver(NSObject, String) |
Stops the specified observer from receiving further notifications of changed values for the specified keyPath. (Inherited from NSObject) |
RespondsToSelector(Selector) |
Whether this object recognizes the specified selector. (Inherited from NSObject) |
SetNativeField(String, NSObject) |
Obsolete.
(Inherited from NSObject)
|
SetNilValueForKey(NSString) |
Sets the value of the specified key to null. (Inherited from NSObject) |
SetValueForKey(NSObject, NSString) |
Sets the value of the property specified by the key to the specified value. (Inherited from NSObject) |
SetValueForKeyPath(IntPtr, NSString) |
A constructor used when creating managed representations of unmanaged objects; Called by the runtime. (Inherited from NSObject) |
SetValueForKeyPath(NSObject, NSString) |
Sets the value of a property that can be reached using a keypath. (Inherited from NSObject) |
SetValueForUndefinedKey(NSObject, NSString) |
Indicates an attempt to write a value to an undefined key. If not overridden, raises an NSUndefinedKeyException. (Inherited from NSObject) |
SetValuesForKeysWithDictionary(NSDictionary) |
Sets the values of this NSObject to those in the specified dictionary. (Inherited from NSObject) |
ShouldAllowExtensionPointIdentifier(UIApplication, NSString) |
Requests permission from the app to run app extensions based on the extension point identified by |
ShouldRequestHealthAuthorization(UIApplication) |
The system calls this method when the developer's app should ask the user for access to HealthKit data. |
ShouldRestoreApplicationState(UIApplication, NSCoder) |
Whether the application should restore saved state information. |
ShouldSaveApplicationState(UIApplication, NSCoder) |
Whether the application should save application state information. |
ToString() |
Returns a string representation of the value of the current instance. (Inherited from NSObject) |
Unbind(NSString) | (Inherited from NSObject) |
Unbind(String) |
Obsolete.
(Inherited from NSObject)
|
UserActivityUpdated(UIApplication, NSUserActivity) |
A user activity was updated. |
UserDidAcceptCloudKitShare(UIApplication, CKShareMetadata) | |
ValueForKey(NSString) |
Returns the value of the property associated with the specified key. (Inherited from NSObject) |
ValueForKeyPath(NSString) |
Returns the value of a property that can be reached using a keypath. (Inherited from NSObject) |
ValueForUndefinedKey(NSString) |
Indicates an attempt to read a value of an undefined key. If not overridden, raises an NSUndefinedKeyException. (Inherited from NSObject) |
WillChange(NSKeyValueChange, NSIndexSet, NSString) |
Indicates that the values of the specified indices in the specified key are about to change. (Inherited from NSObject) |
WillChange(NSString, NSKeyValueSetMutationKind, NSSet) | (Inherited from NSObject) |
WillChangeStatusBarFrame(UIApplication, CGRect) |
Indicates that the frame of the status bar will change shortly. |
WillChangeStatusBarOrientation(UIApplication, UIInterfaceOrientation, Double) |
Indicates that the orientation of the status bar will change shortly. |
WillChangeValue(String) |
Indicates that the value of the specified key is about to change. (Inherited from NSObject) |
WillContinueUserActivity(UIApplication, String) |
Informs the app that the user is attempting to continue a |
WillEncodeRestorableState(UIApplication, NSCoder) |
Indicates that the app is about to store application state data. |
WillEnterForeground(UIApplication) |
Called prior to the application returning from a backgrounded state. |
WillFinishLaunching(UIApplication, NSDictionary) |
Indicates that launching has begun, but state restoration has not yet occurred. |
WillTerminate(UIApplication) |
Called if the application is being terminated due to memory constraints or directly by the user. |
Extension Methods
GetDebugDescription(INSObjectProtocol) | |
GetAccessibilityCustomRotors(NSObject) |
Gets the array of UIAccessibilityCustomRotor objects appropriate for |
SetAccessibilityCustomRotors(NSObject, UIAccessibilityCustomRotor[]) |
Sets the array of UIAccessibilityCustomRotor objects appropriate for |
AccessibilityPerformMagicTap(IUIApplicationDelegate) |
Performs the most important action of the app. Often, this is toggling the most important state of the app. |
ApplicationSignificantTimeChange(IUIApplicationDelegate, UIApplication) |
Indicates a significant change in time, such as midnight, change to Daylight Savings, or a shift in timezone. |
ChangedStatusBarFrame(IUIApplicationDelegate, UIApplication, CGRect) |
Indicates that the frame of the status bar has changed. |
ContinueUserActivity(IUIApplicationDelegate, UIApplication, NSUserActivity, UIApplicationRestorationHandler) |
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. |
DidChangeStatusBarOrientation(IUIApplicationDelegate, UIApplication, UIInterfaceOrientation) |
Indicates that the orientation of the status bar has changed. |
DidDecodeRestorableState(IUIApplicationDelegate, UIApplication, NSCoder) |
Indicates that the app should restore highest-level state. |
DidEnterBackground(IUIApplicationDelegate, UIApplication) |
Indicates that the application has entered the background. |
DidFailToContinueUserActivitiy(IUIApplicationDelegate, UIApplication, String, NSError) |
Informs the app that the activity of the |
DidReceiveRemoteNotification(IUIApplicationDelegate, UIApplication, NSDictionary, Action<UIBackgroundFetchResult>) |
Indicates that the app received a remote notification. |
DidRegisterUserNotificationSettings(IUIApplicationDelegate, UIApplication, UIUserNotificationSettings) |
Developers should not use this deprecated method. Developers should use 'UNUserNotificationCenter.RequestAuthorization' instead. |
FailedToRegisterForRemoteNotifications(IUIApplicationDelegate, UIApplication, NSError) |
Indicates that Apple Push Service did not successfully compete the registration process. |
FinishedLaunching(IUIApplicationDelegate, UIApplication, NSDictionary) |
Indicates that launching has finished and the app will shortly begin running. |
FinishedLaunching(IUIApplicationDelegate, UIApplication) |
The application has finished launching. |
GetSupportedInterfaceOrientations(IUIApplicationDelegate, UIApplication, UIWindow) |
The interface orientations supported by the app. |
GetViewController(IUIApplicationDelegate, UIApplication, String[], NSCoder) |
Retrieves the UIViewController identified by the last value in the restorationIdentifierComponents parameter. |
GetWindow(IUIApplicationDelegate) | |
HandleAction(IUIApplicationDelegate, UIApplication, String, NSDictionary, NSDictionary, Action) |
Informs the app of a custom action to perform based on a remote notification, and includes the |
HandleAction(IUIApplicationDelegate, UIApplication, String, NSDictionary, Action) |
Informs the app of a custom action to perform based on a push notification, and includes the |
HandleAction(IUIApplicationDelegate, UIApplication, String, UILocalNotification, NSDictionary, Action) |
Informs the app of a custom action to perform based on a local notification, and includes the |
HandleAction(IUIApplicationDelegate, UIApplication, String, UILocalNotification, Action) |
Informs the app that the user selected an action identified by the |
HandleEventsForBackgroundUrl(IUIApplicationDelegate, UIApplication, String, Action) |
Raised when events relating to a background T:UIKit.NSUrlSession are waiting to be processed. |
HandleIntent(IUIApplicationDelegate, UIApplication, INIntent, Action<INIntentResponse>) |
The system is requesting that the application handle the specified |
HandleOpenURL(IUIApplicationDelegate, UIApplication, NSUrl) |
Developers should use M:UIKit.UIApplicationDelegate.OpenUrl* rather than this deprecated method. |
HandleWatchKitExtensionRequest(IUIApplicationDelegate, UIApplication, NSDictionary, Action<NSDictionary>) |
A watchkit extension has made a request. |
OnActivated(IUIApplicationDelegate, UIApplication) |
The app has moved from the inactive to actie state. |
OnResignActivation(IUIApplicationDelegate, UIApplication) |
The app is about to move from the active state to the inactive state. |
OpenUrl(IUIApplicationDelegate, UIApplication, NSUrl, NSDictionary) |
Indicates that the application should open the specified |
OpenUrl(IUIApplicationDelegate, UIApplication, NSUrl, String, NSObject) |
Loads a resource from the specified URL. |
PerformActionForShortcutItem(IUIApplicationDelegate, UIApplication, UIApplicationShortcutItem, UIOperationHandler) |
Called by the system when the user initiates a Home screen quick action, unless the interaction was handled in WillFinishLaunching(UIApplication, NSDictionary) or M:UIKit.UIApplicationDelegate.DidFinishLaunching*. |
PerformFetch(IUIApplicationDelegate, UIApplication, Action<UIBackgroundFetchResult>) |
Indicates that the application can begin a fetch operation if it has data to download. |
ProtectedDataDidBecomeAvailable(IUIApplicationDelegate, UIApplication) |
Protected files are now available. |
ProtectedDataWillBecomeUnavailable(IUIApplicationDelegate, UIApplication) |
Indicates that protected files are about to be encrypted and unavailable for reading. |
ReceivedLocalNotification(IUIApplicationDelegate, UIApplication, UILocalNotification) |
Indicates that the app received a local notification. |
ReceivedRemoteNotification(IUIApplicationDelegate, UIApplication, NSDictionary) |
Indicates that the app received a remote notification. |
ReceiveMemoryWarning(IUIApplicationDelegate, UIApplication) |
The app has received a low-memory warning from the system. |
RegisteredForRemoteNotifications(IUIApplicationDelegate, UIApplication, NSData) |
Indicates that the device successfully registered with Apple Push Service. |
SetWindow(IUIApplicationDelegate, UIWindow) | |
ShouldAllowExtensionPointIdentifier(IUIApplicationDelegate, UIApplication, NSString) |
Requests permission from the app to run app extensions based on the extension point identified by |
ShouldRequestHealthAuthorization(IUIApplicationDelegate, UIApplication) |
The system calls this method when the developer's app should ask the user for access to HealthKit data. |
ShouldRestoreApplicationState(IUIApplicationDelegate, UIApplication, NSCoder) |
Whether the application should restore saved state information. |
ShouldSaveApplicationState(IUIApplicationDelegate, UIApplication, NSCoder) |
Whether the application should save application state information. |
UserActivityUpdated(IUIApplicationDelegate, UIApplication, NSUserActivity) |
Informs the app that the NSUserActivity object in |
UserDidAcceptCloudKitShare(IUIApplicationDelegate, UIApplication, CKShareMetadata) | |
WillChangeStatusBarFrame(IUIApplicationDelegate, UIApplication, CGRect) |
Indicates that the frame of the status bar is about to change. |
WillChangeStatusBarOrientation(IUIApplicationDelegate, UIApplication, UIInterfaceOrientation, Double) |
Indicates that the orientation of the status bar is about to change. |
WillContinueUserActivity(IUIApplicationDelegate, UIApplication, String) |
Informs the app that the user is attempting to continue a |
WillEncodeRestorableState(IUIApplicationDelegate, UIApplication, NSCoder) |
Indicates that the app is about to store application state data. |
WillEnterForeground(IUIApplicationDelegate, UIApplication) |
Indicates that the application is about to enter the foreground. |
WillFinishLaunching(IUIApplicationDelegate, UIApplication, NSDictionary) |
Indicates that the app is about to finish its launching procedures. |
WillTerminate(IUIApplicationDelegate, UIApplication) |
Indicates that the app is about to terminate. |