UIApplication 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.
[Foundation.Register("UIApplication", true)]
public class UIApplication : UIKit.UIResponder
[<Foundation.Register("UIApplication", true)>]
type UIApplication = class
inherit UIResponder
- Inheritance
- Attributes
Constructors
| Name | Description |
|---|---|
| UIApplication() |
Creates a new UIApplication with default values. |
| UIApplication(NativeHandle) |
A constructor used when creating managed representations of unmanaged objects. Called by the runtime. |
| UIApplication(NSObjectFlag) |
Constructor to call on derived classes to skip initialization and merely allocate the object. |
Fields
| Name | Description |
|---|---|
| CheckForEventAndDelegateMismatches |
If |
| CheckForIllegalCrossThreadCalls |
Determines whether the debug builds of MonoTouch will enforce that calls done to UIKit are only issued from the UI thread. |
Properties
| Name | Description |
|---|---|
| AccessibilityActivationPoint | |
| AccessibilityAssistiveTechnologyFocusedIdentifiers | (Inherited from UIResponder) |
| AccessibilityAttributedHint | |
| AccessibilityAttributedLabel | |
| AccessibilityAttributedUserInputLabels | |
| AccessibilityAttributedValue | |
| AccessibilityCustomActions | (Inherited from UIResponder) |
| AccessibilityDirectTouchOptions | |
| AccessibilityDragSourceDescriptors | (Inherited from UIResponder) |
| AccessibilityDropPointDescriptors | (Inherited from UIResponder) |
| AccessibilityElementsHidden | |
| AccessibilityExpandedStatus | |
| AccessibilityFrame | |
| AccessibilityHeaderElements | |
| AccessibilityHint | |
| AccessibilityLabel | |
| AccessibilityLanguage | |
| AccessibilityNavigationStyle | |
| AccessibilityPath | |
| AccessibilityRespondsToUserInteraction | |
| AccessibilityTextualContext | |
| AccessibilityTraits | |
| AccessibilityUserInputLabels | |
| AccessibilityValue | |
| AccessibilityViewIsModal | |
| ActivityItemsConfiguration | (Inherited from UIResponder) |
| AlternateIconName | |
| AnnouncementDidFinishNotification |
Notification constant for AnnouncementDidFinish |
| AnnouncementNotification |
Gets the notification posted by an application that an announcement requires assistive technology. |
| ApplicationIconBadgeNumber | |
| ApplicationState | |
| ApplicationSupportsShakeToEdit | |
| AssistiveTechnologyKey |
Notification constant for AssistiveTechnologyKey |
| AssistiveTouchStatusDidChangeNotification |
Notification constant for AssistiveTouchStatusDidChange |
| BackgroundFetchIntervalMinimum |
Represents the value associated with the constant UIApplicationBackgroundFetchIntervalMinimum |
| BackgroundFetchIntervalNever |
Represents the value associated with the constant UIApplicationBackgroundFetchIntervalNever |
| BackgroundRefreshStatus | |
| BackgroundRefreshStatusDidChangeNotification |
Notification constant for BackgroundRefreshStatusDidChange |
| BackgroundTaskInvalid |
Represents the value associated with the constant UIBackgroundTaskInvalid |
| BackgroundTimeRemaining | |
| BoldTextStatusDidChangeNotification |
Notification constant for BoldTextStatusDidChange |
| ButtonShapesEnabledStatusDidChangeNotification |
Notification constant for ButtonShapesEnabledStatusDidChange |
| CanBecomeFirstResponder | (Inherited from UIResponder) |
| CanResignFirstResponder | (Inherited from UIResponder) |
| Class | (Inherited from NSObject) |
| ClassHandle |
The Objective-C class handle for this class. |
| ClosedCaptioningStatusDidChangeNotification |
Notification constant for ClosedCaptioningStatusDidChange |
| ConnectedScenes | |
| ContentSizeCategoryChangedNotification |
Notification constant for ContentSizeCategoryChanged |
| CurrentUserNotificationSettings | |
| DarkerSystemColorsStatusDidChangeNotification |
Notification constant for DarkerSystemColorsStatusDidChange |
| DebugDescription | (Inherited from NSObject) |
| Delegate |
An instance of the UIKit.IUIApplicationDelegate model class which acts as the class delegate. |
| Description | (Inherited from NSObject) |
| DidBecomeActiveNotification |
Notification constant for DidBecomeActive |
| DidChangeStatusBarFrameNotification |
Notification constant for DidChangeStatusBarFrame |
| DidChangeStatusBarOrientationNotification |
Notification constant for DidChangeStatusBarOrientation |
| DidEnterBackgroundNotification |
Notification constant for DidEnterBackground |
| DidFinishLaunchingNotification |
Notification constant for DidFinishLaunching |
| DidReceiveMemoryWarningNotification |
Notification constant for DidReceiveMemoryWarning |
| EditingInteractionConfiguration | (Inherited from UIResponder) |
| ElementFocusedNotification |
Notification constant for ElementFocused |
| EnabledRemoteNotificationTypes | |
| FocusedElementKey |
Notification constant for FocusedElementKey |
| GrayscaleStatusDidChangeNotification |
Notification constant for GrayscaleStatusDidChange |
| GuidedAccessStatusDidChangeNotification |
Notification constant for GuidedAccessStatusDidChange |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from NSObject) |
| HearingDevicePairedEarDidChangeNotification |
Notification constant for HearingDevicePairedEarDidChange |
| IdleTimerDisabled |
If |
| InputAccessoryView | (Inherited from UIResponder) |
| InputAccessoryViewController | (Inherited from UIResponder) |
| InputAssistantItem | (Inherited from UIResponder) |
| InputView | (Inherited from UIResponder) |
| InputViewController | (Inherited from UIResponder) |
| InvertColorsStatusDidChangeNotification |
Notification constant for InvertColorsStatusDidChange |
| IsAccessibilityElement | |
| IsDirectBinding | (Inherited from NSObject) |
| IsFirstResponder | (Inherited from UIResponder) |
| IsIgnoringInteractionEvents |
Whether the receiver is ignoring touch events. |
| IsProxy | (Inherited from NSObject) |
| IsRegisteredForRemoteNotifications |
Indicates whether app is registered for remote notifications. |
| KeyCommands | (Inherited from UIResponder) |
| KeyWindow | |
| LaunchOptionsAnnotationKey |
Launch Options Key: Use this key to find out if custom data was passed to the program by the opening application. The value of this key will be a property list. |
| LaunchOptionsBluetoothCentralsKey |
Represents the value associated with the constant UIApplicationLaunchOptionsBluetoothCentralsKey |
| LaunchOptionsBluetoothPeripheralsKey |
Represents the value associated with the constant UIApplicationLaunchOptionsBluetoothPeripheralsKey |
| LaunchOptionsCloudKitShareMetadataKey | |
| LaunchOptionsEventAttributionKey |
Represents the value associated with the constant 'UIApplicationLaunchOptionsEventAttributionKey'. |
| LaunchOptionsLocalNotificationKey |
Notification constant for LaunchOptionsLocalNot |
| LaunchOptionsLocationKey |
Launch Options Key: Application was started up in response to a location event. |
| LaunchOptionsNewsstandDownloadsKey |
Represents the value associated with the constant 'UIApplicationLaunchOptionsNewsstandDownloadsKey'. |
| LaunchOptionsRemoteNotificationKey |
Notification constant for LaunchOptionsRemoteNot |
| LaunchOptionsShortcutItemKey |
The presence of this key indicates that the application was launched via a shortcut item. |
| LaunchOptionsSourceApplicationKey |
Launch Options Key: the value associated with the key is the bundle-id of the application that launched this application. |
| LaunchOptionsUrlKey |
Launch Options Key: the application was launched in response to open a URL. the value associated with the key contains the URL to open. |
| LaunchOptionsUserActivityDictionaryKey |
Represents the value associated with the constant UIApplicationLaunchOptionsUserActivityDictionaryKey |
| LaunchOptionsUserActivityTypeKey |
Represents the value associated with the constant UIApplicationLaunchOptionsUserActivityTypeKey |
| LayoutChangedNotification |
Gets the notification posted by an application that the layout of a screen has changed. |
| MinimumKeepAliveTimeout |
Represents the value associated with the constant UIMinimumKeepAliveTimeout |
| MonoAudioStatusDidChangeNotification |
Notification constant for MonoAudioStatusDidChange |
| NetworkActivityIndicatorVisible |
Controls the status of the network activity indicator on the device. |
| NextResponder | (Inherited from UIResponder) |
| NotificationSwitchControlIdentifier |
Notification constant for NotificationSwitchContr |
| NotificationVoiceOverIdentifier |
Notification constant for NotificationVoiceOv |
| OnOffSwitchLabelsDidChangeNotification |
Notification constant for OnOffSwitchLabelsDidChange |
| OpenNotificationSettingsUrl |
Represents the value associated with the constant 'UIApplicationOpenNotificationSettingsURLString'. |
| OpenSessions | |
| OpenSettingsUrlString |
Represents the value associated with the constant UIApplicationOpenSettingsURLString |
| PageScrolledNotification |
Gets the notification posted by an application that a scroll action has finished. |
| PasteConfiguration |
The UIPasteConfiguration supported by |
| PauseAssistiveTechnologyNotification |
Pauses assistive technology notifications. |
| PreferredContentSizeCategory | |
| PrefersCrossFadeTransitionsStatusDidChangeNotification |
Notification constant for PrefersCrossFadeTransitionsStatusDidChange |
| ProtectedDataAvailable |
Whether content protection is available. |
| ProtectedDataDidBecomeAvailable |
Notification constant for ProtectedDataDidBecomeAvailable |
| ProtectedDataWillBecomeUnavailable |
Notification constant for ProtectedDataWillBecomeUnavailable |
| ReduceMotionStatusDidChangeNotification |
Notification constant for ReduceMotionStatusDidChange |
| ReduceTransparencyStatusDidChangeNotification |
Notification constant for ReduceTransparencyStatusDidChange |
| ResumeAssistiveTechnologyNotification |
Resumes assistive technology notifications. |
| RetainCount | (Inherited from NSObject) |
| ScheduledLocalNotifications | |
| ScreenChangedNotification |
Gets the notification posted by an application that a new view appears that includes a major portion of the screen. |
| Self | (Inherited from NSObject) |
| ShakeToUndoDidChangeNotification |
Notification constant for ShakeToUndoDidChange |
| SharedApplication | |
| ShortcutItems | |
| ShouldDifferentiateWithoutColorDidChangeNotification |
Notification constant for ShouldDifferentiateWithoutColorDidChange |
| ShouldGroupAccessibilityChildren | |
| SignificantTimeChangeNotification |
Notification constant for SignificantTimeChange |
| SpeakScreenStatusDidChangeNotification |
Notification constant for SpeakScreenStatusDidChange |
| SpeakSelectionStatusDidChangeNotification |
Notification constant for SpeakSelectionStatusDidChange |
| SpeechAttributeAnnouncementPriority |
Represents the value associated with the constant 'UIAccessibilitySpeechAttributeAnnouncementPriority'. |
| SpeechAttributeIpaNotation |
Returns the IPA notation for the accessibility attributed string. |
| SpeechAttributeLanguage |
Gets a BCP-47 language code. |
| SpeechAttributePitch |
Gets the value from 0.0 to 2.0 that determines the pitch for a spoken string. |
| SpeechAttributePunctuation |
Gets a value to be interpreted as a |
| SpeechAttributeQueueAnnouncement |
Key for option that spoken text interrupt existing spoken content. |
| SpeechAttributeSpellOut |
Represents the value associated with the constant 'UIAccessibilitySpeechAttributeSpellOut'. |
| StateRestorationBundleVersionKey |
Represents the value associated with the constant UIApplicationStateRestorationBundleVersionKey |
| StateRestorationSystemVersionKey |
Represents the value associated with the constant UIApplicationStateRestorationSystemVersionKey |
| StateRestorationTimestampKey |
Represents the value associated with the constant UIApplicationStateRestorationTimestampKey |
| StateRestorationUserInterfaceIdiomKey |
Represents the value associated with the constant UIApplicationStateRestorationUserInterfaceIdiomKey |
| StatusBarFrame | |
| StatusBarFrameUserInfoKey |
Represents the value associated with the constant UIApplicationStatusBarFrameUserInfoKey |
| StatusBarHidden |
Whether the status bar is visible. |
| StatusBarOrientation | |
| StatusBarOrientationAnimationDuration | |
| StatusBarOrientationUserInfoKey |
Represents the value associated with the constant UIApplicationStatusBarOrientationUserInfoKey |
| StatusBarStyle | |
| Superclass | (Inherited from NSObject) |
| SuperHandle |
Handle used to represent the methods in the base class for this NSObject. (Inherited from NSObject) |
| SupportsAlternateIcons | |
| SupportsMultipleScenes | |
| SwitchControlStatusDidChangeNotification |
Notification constant for SwitchControlStatusDidChange |
| TextAttributeContext |
Represents the value associated with the constant 'UIAccessibilityTextAttributeContext'. |
| TextAttributeCustom |
Key for option that custom attributes be applied to the accessibility text. |
| TextAttributeHeadingLevel |
Key for option of the accessibility text's heading level. |
| TextInputContextIdentifier | (Inherited from UIResponder) |
| TextInputMode | (Inherited from UIResponder) |
| TouchBar | (Inherited from UIResponder) |
| TraitAdjustable |
Obsolete.
Gets a trait that allows continuous adjustment of an accessibility element through a range of values. |
| TraitAllowsDirectInteraction |
Obsolete.
Gets a trait that allows direct touch interaction for users. |
| TraitButton |
Obsolete.
Gets a trait that indicates that |
| TraitCausesPageTurn |
Obsolete.
Gets a trait that indicates that |
| TraitHeader |
Obsolete.
Gets a trait that indicates that |
| TraitImage |
Obsolete.
Gets a trait that indicates that |
| TraitKeyboardKey |
Obsolete.
Gets a trait that indicates that |
| TraitLink |
Obsolete.
Gets a trait that indicates that |
| TraitNone |
Obsolete.
Gets a trait that indicates that |
| TraitNotEnabled |
Obsolete.
Gets a trait that indicates that |
| TraitPlaysSound |
Obsolete.
Gets a trait that indicates that |
| TraitSearchField |
Obsolete.
Gets a trait that indicates that |
| TraitSelected |
Obsolete.
Gets a trait that indicates that |
| TraitStartsMediaSession |
Obsolete.
Gets a trait that indicates that |
| TraitStaticText |
Obsolete.
Gets a trait that indicates that |
| TraitSummaryElement |
Obsolete.
Gets a trait that provides summary information when an application starts. |
| TraitTabBar |
Obsolete.
Represents the value associated with the constant 'UIAccessibilityTraitTabBar'. |
| TraitUpdatesFrequently |
Obsolete.
Gets a trait that indicates that |
| UIApplicationOpenDefaultApplicationsSettingsUrlString |
Represents the value associated with the constant 'UIApplicationOpenDefaultApplicationsSettingsURLString'. |
| UITrackingRunLoopMode |
Represents the value associated with the constant UITrackingRunLoopMode |
| UndoManager | (Inherited from UIResponder) |
| UnfocusedElementKey |
Notification constant for UnfocusedElementKey |
| UserActivity | (Inherited from UIResponder) |
| UserDidTakeScreenshotNotification |
Notification constant for UserDidTakeScreenshot |
| UserInterfaceLayoutDirection | |
| VideoAutoplayStatusDidChangeNotification |
Notification constant for VideoAutoplayStatusDidChange |
| VoiceOverStatusChanged |
Developers should not use this deprecated property. Developers should use 'VoiceOverStatusDidChangeNotification' instead. |
| VoiceOverStatusDidChangeNotification |
Notification constant for VoiceOverStatusDidChange |
| WeakDelegate | |
| WillChangeStatusBarFrameNotification |
Notification constant for WillChangeStatusBarFrame |
| WillChangeStatusBarOrientationNotification |
Notification constant for WillChangeStatusBarOrientation |
| WillEnterForegroundNotification |
Notification constant for WillEnterForeground |
| WillResignActiveNotification |
Notification constant for WillResignActive |
| WillTerminateNotification |
Notification constant for WillTerminate |
| Windows | |
| Zone | (Inherited from NSObject) |