net9.0-ios
namespace UIKit
{
    [Protocol(Name = "UIApplicationDelegate", WrapperType = typeof(UIApplicationDelegateWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "AccessibilityPerformMagicTap", ReturnType = typeof(bool), Selector = "accessibilityPerformMagicTap")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "FinishedLaunching", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UIApplication) }, Selector = "applicationDidFinishLaunching:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "OnActivated", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UIApplication) }, Selector = "applicationDidBecomeActive:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "OnResignActivation", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UIApplication) }, Selector = "applicationWillResignActive:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ReceiveMemoryWarning", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UIApplication) }, Selector = "applicationDidReceiveMemoryWarning:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillTerminate", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UIApplication) }, Selector = "applicationWillTerminate:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ApplicationSignificantTimeChange", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UIApplication) }, Selector = "applicationSignificantTimeChange:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillChangeStatusBarOrientation", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UIApplication), typeof(UIInterfaceOrientation), typeof(double) }, Selector = "application:willChangeStatusBarOrientation:duration:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidChangeStatusBarOrientation", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIApplication), typeof(UIInterfaceOrientation) }, Selector = "application:didChangeStatusBarOrientation:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillChangeStatusBarFrame", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIApplication), typeof(CGRect) }, Selector = "application:willChangeStatusBarFrame:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ChangedStatusBarFrame", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIApplication), typeof(CGRect) }, Selector = "application:didChangeStatusBarFrame:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "RegisteredForRemoteNotifications", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIApplication), typeof(NSData) }, Selector = "application:didRegisterForRemoteNotificationsWithDeviceToken:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "FailedToRegisterForRemoteNotifications", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIApplication), typeof(NSError) }, Selector = "application:didFailToRegisterForRemoteNotificationsWithError:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ReceivedRemoteNotification", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIApplication), typeof(NSDictionary) }, Selector = "application:didReceiveRemoteNotification:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ReceivedLocalNotification", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIApplication), typeof(UILocalNotification) }, Selector = "application:didReceiveLocalNotification:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidEnterBackground", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UIApplication) }, Selector = "applicationDidEnterBackground:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillEnterForeground", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UIApplication) }, Selector = "applicationWillEnterForeground:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ProtectedDataWillBecomeUnavailable", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UIApplication) }, Selector = "applicationProtectedDataWillBecomeUnavailable:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ProtectedDataDidBecomeAvailable", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UIApplication) }, Selector = "applicationProtectedDataDidBecomeAvailable:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillEncodeRestorableState", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIApplication), typeof(NSCoder) }, Selector = "application:willEncodeRestorableStateWithCoder:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidDecodeRestorableState", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIApplication), typeof(NSCoder) }, Selector = "application:didDecodeRestorableStateWithCoder:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidFailToContinueUserActivity", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UIApplication), typeof(string), typeof(NSError) }, Selector = "application:didFailToContinueUserActivityWithType:error:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidRegisterUserNotificationSettings", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIApplication), typeof(UIUserNotificationSettings) }, Selector = "application:didRegisterUserNotificationSettings:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UserActivityUpdated", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIApplication), typeof(NSUserActivity) }, Selector = "application:didUpdateUserActivity:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldRequestHealthAuthorization", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UIApplication) }, Selector = "applicationShouldRequestHealthAuthorization:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UserDidAcceptCloudKitShare", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIApplication), typeof(CKShareMetadata) }, Selector = "application:userDidAcceptCloudKitShareWithMetadata:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidDiscardSceneSessions", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIApplication), typeof(NSSet<UISceneSession>) }, Selector = "application:didDiscardSceneSessions:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "FinishedLaunching", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIApplication), typeof(NSDictionary) }, ReturnType = typeof(bool), Selector = "application:didFinishLaunchingWithOptions:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "HandleOpenURL", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIApplication), typeof(NSUrl) }, ReturnType = typeof(bool), Selector = "application:handleOpenURL:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "OpenUrl", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(UIApplication), typeof(NSUrl), typeof(string), typeof(NSObject) }, ReturnType = typeof(bool), Selector = "application:openURL:sourceApplication:annotation:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "OpenUrl", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UIApplication), typeof(NSUrl), typeof(NSDictionary) }, ReturnType = typeof(bool), Selector = "application:openURL:options:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillFinishLaunching", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIApplication), typeof(NSDictionary) }, ReturnType = typeof(bool), Selector = "application:willFinishLaunchingWithOptions:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetSupportedInterfaceOrientations", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIApplication), typeof(UIWindow) }, ReturnType = typeof(UIInterfaceOrientationMask), Selector = "application:supportedInterfaceOrientationsForWindow:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetViewController", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UIApplication), typeof(string[]), typeof(NSCoder) }, ReturnType = typeof(UIViewController), Selector = "application:viewControllerWithRestorationIdentifierPath:coder:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldSaveApplicationState", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIApplication), typeof(NSCoder) }, ReturnType = typeof(bool), Selector = "application:shouldSaveApplicationState:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldSaveSecureApplicationState", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIApplication), typeof(NSCoder) }, ReturnType = typeof(bool), Selector = "application:shouldSaveSecureApplicationState:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldRestoreApplicationState", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIApplication), typeof(NSCoder) }, ReturnType = typeof(bool), Selector = "application:shouldRestoreApplicationState:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldRestoreSecureApplicationState", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIApplication), typeof(NSCoder) }, ReturnType = typeof(bool), Selector = "application:shouldRestoreSecureApplicationState:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidReceiveRemoteNotification", ParameterBlockProxy = new[] { null, null, typeof(NIDActionArity1V21) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UIApplication), typeof(NSDictionary), typeof(Action<UIBackgroundFetchResult>) }, Selector = "application:didReceiveRemoteNotification:fetchCompletionHandler:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "HandleEventsForBackgroundUrl", ParameterBlockProxy = new[] { null, null, typeof(NIDAction) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UIApplication), typeof(string), typeof(Action) }, Selector = "application:handleEventsForBackgroundURLSession:completionHandler:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "PerformFetch", ParameterBlockProxy = new[] { null, typeof(NIDActionArity1V21) }, ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIApplication), typeof(Action<UIBackgroundFetchResult>) }, Selector = "application:performFetchWithCompletionHandler:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "HandleAction", ParameterBlockProxy = new[] { null, null, null, typeof(NIDAction) }, ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(UIApplication), typeof(string), typeof(UILocalNotification), typeof(Action) }, Selector = "application:handleActionWithIdentifier:forLocalNotification:completionHandler:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "HandleAction", ParameterBlockProxy = new[] { null, null, null, null, typeof(NIDAction) }, ParameterByRef = new[] { false, false, false, false, false }, ParameterType = new[] { typeof(UIApplication), typeof(string), typeof(UILocalNotification), typeof(NSDictionary), typeof(Action) }, Selector = "application:handleActionWithIdentifier:forLocalNotification:withResponseInfo:completionHandler:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "HandleAction", ParameterBlockProxy = new[] { null, null, null, typeof(NIDAction) }, ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(UIApplication), typeof(string), typeof(NSDictionary), typeof(Action) }, Selector = "application:handleActionWithIdentifier:forRemoteNotification:completionHandler:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "HandleAction", ParameterBlockProxy = new[] { null, null, null, null, typeof(NIDAction) }, ParameterByRef = new[] { false, false, false, false, false }, ParameterType = new[] { typeof(UIApplication), typeof(string), typeof(NSDictionary), typeof(NSDictionary), typeof(Action) }, Selector = "application:handleActionWithIdentifier:forRemoteNotification:withResponseInfo:completionHandler:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "PerformActionForShortcutItem", ParameterBlockProxy = new[] { null, null, typeof(NIDUIOperationHandler) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UIApplication), typeof(UIApplicationShortcutItem), typeof(UIOperationHandler) }, Selector = "application:performActionForShortcutItem:completionHandler:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillContinueUserActivity", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIApplication), typeof(string) }, ReturnType = typeof(bool), Selector = "application:willContinueUserActivityWithType:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldAllowExtensionPointIdentifier", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIApplication), typeof(NSString) }, ReturnType = typeof(bool), Selector = "application:shouldAllowExtensionPointIdentifier:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "HandleWatchKitExtensionRequest", ParameterBlockProxy = new[] { null, null, typeof(NIDActionArity1V23) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UIApplication), typeof(NSDictionary), typeof(Action<NSDictionary>) }, Selector = "application:handleWatchKitExtensionRequest:reply:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "HandleIntent", ParameterBlockProxy = new[] { null, null, typeof(NIDActionArity1V22) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UIApplication), typeof(INIntent), typeof(Action<INIntentResponse>) }, Selector = "application:handleIntent:completionHandler:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetHandlerForIntent", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIApplication), typeof(INIntent) }, ReturnType = typeof(NSObject), Selector = "application:handlerForIntent:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetConfiguration", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UIApplication), typeof(UISceneSession), typeof(UISceneConnectionOptions) }, ReturnType = typeof(UISceneConfiguration), Selector = "application:configurationForConnectingSceneSession:options:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldAutomaticallyLocalizeKeyCommands", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UIApplication) }, ReturnType = typeof(bool), Selector = "applicationShouldAutomaticallyLocalizeKeyCommands:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ContinueUserActivity", ParameterBlockProxy = new[] { null, null, typeof(NIDUIApplicationRestorationHandler) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UIApplication), typeof(NSUserActivity), typeof(UIApplicationRestorationHandler) }, ReturnType = typeof(bool), Selector = "application:continueUserActivity:restorationHandler:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Retain, GetterSelector = "window", IsProperty = true, IsRequired = false, IsStatic = false, Name = "Window", PropertyType = typeof(UIWindow), Selector = "window", SetterSelector = "setWindow:")]
    [SupportedOSPlatform("maccatalyst")]
    [SupportedOSPlatform("ios")]
    [SupportedOSPlatform("tvos")]
    [UnsupportedOSPlatform("macos")]
    public interface IUIApplicationDelegate : INativeObject, IDisposable
}
nuget.org
0.0 %
Reference this API
Upgrade Planner
0.0 %
Reference this API
Assembly Microsoft.iOS , Version=17.0.0.0, PublicKeyToken=84e04ff9cfb79065
Help Documentation
.NET 6.0-ios6.0-maccatalyst6.0-tvos7.0-ios7.0-maccatalyst7.0-tvos8.0-ios8.0-maccatalyst8.0-tvos9.0-ios9.0-maccatalyst9.0-tvos
Xamarin iOS 0.0
Xamarin tvOS 0.0
OS Platforms

For the selected framework this API is only supported on the following OS platforms:

  • iOS
  • Mac Catalyst
  • macOS
  • tvOS
  • Built-in API
  • Package-provided API

04/18/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙