UIKit.UIApplication: Property Members

The properties of UIKit.UIApplication are listed below. For a list of all members, see the UIApplication Members list.

See Also: Inherited members from UIKit.UIResponder

Public Properties

ApplicationIconBadgeNumbernint. Numeric value to display as the application badge number.
[read-only]
ApplicationStateUIApplicationState. Reflects the current application state.
ApplicationSupportsShakeToEditbool. Controls whether shaking the device will bring up the undo/redo buttons.
[read-only]
static
BackgroundFetchIntervalMinimumdouble. Represents the value associated with the constant UIApplicationBackgroundFetchIntervalMinimum
[read-only]
static
BackgroundFetchIntervalNeverdouble. Represents the value associated with the constant UIApplicationBackgroundFetchIntervalNever
[read-only]
BackgroundRefreshStatusUIBackgroundRefreshStatus. Whether background processing is allowed, denied, or restricted.
[read-only]
static
BackgroundRefreshStatusDidChangeNotificationFoundation.NSString. Notification constant for BackgroundRefreshStatusDidChange
[read-only]
static
BackgroundTaskInvalidnint. Represents the value associated with the constant UIBackgroundTaskInvalid
[read-only]
BackgroundTimeRemainingdouble. The number of seconds that the application has left to run in the background.
[read-only]
override
ClassHandleIntPtr. The handle for this class.
[read-only]
static
ContentSizeCategoryChangedNotificationFoundation.NSString. Notification constant for ContentSizeCategoryChanged
[read-only]
CurrentUserNotificationSettingsUIUserNotificationSettings. Returns current user notification settings for the app.
DelegateIUIApplicationDelegate. An instance of the UIKit.UIApplicationDelegate model class which acts as the class delegate.
[read-only]
static
DidBecomeActiveNotificationFoundation.NSString. Notification constant for DidBecomeActive
[read-only]
static
DidChangeStatusBarFrameNotificationFoundation.NSString. Notification constant for DidChangeStatusBarFrame
[read-only]
static
DidChangeStatusBarOrientationNotificationFoundation.NSString. Notification constant for DidChangeStatusBarOrientation
[read-only]
static
DidEnterBackgroundNotificationFoundation.NSString. Notification constant for DidEnterBackground
[read-only]
static
DidFinishLaunchingNotificationFoundation.NSString. Notification constant for DidFinishLaunching
[read-only]
static
DidReceiveMemoryWarningNotificationFoundation.NSString. Notification constant for DidReceiveMemoryWarning
[read-only]
EnabledRemoteNotificationTypesUIRemoteNotificationType. Returns a bit-masked UIKit.UIRemoteNotificationType indicating which types of notifications the app accepts.
IdleTimerDisabledbool. If true, indicates that the screen should not dim even when no input is occurring.
[read-only]
IsIgnoringInteractionEventsbool. Whether the receiver is ignoring touch events.
[read-only]
IsRegisteredForRemoteNotificationsbool. Indicates whether app is registered for remote notifications.
[read-only]
KeyWindowUIWindow. Returns the application's key window - the window that is currently displayed and receives user input
[read-only]
static
LaunchOptionsAnnotationKeyFoundation.NSString. 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.
[read-only]
static
LaunchOptionsBluetoothCentralsKeyFoundation.NSString. Represents the value associated with the constant UIApplicationLaunchOptionsBluetoothCentralsKey
[read-only]
static
LaunchOptionsBluetoothPeripheralsKeyFoundation.NSString. Represents the value associated with the constant UIApplicationLaunchOptionsBluetoothPeripheralsKey
[read-only]
static
LaunchOptionsLocalNotificationKeyFoundation.NSString. Notification constant for LaunchOptionsLocalNot
[read-only]
static
LaunchOptionsLocationKeyFoundation.NSString. Launch Options Key: Application was started up in response to a location event.
[read-only]
static
LaunchOptionsNewsstandDownloadsKeyFoundation.NSString. Launch Options Key: This key indicates that Newsstand has completed downloading the requested data.
[read-only]
static
LaunchOptionsRemoteNotificationKeyFoundation.NSString. Notification constant for LaunchOptionsRemoteNot
[read-only]
static
LaunchOptionsSourceApplicationKeyFoundation.NSString. Launch Options Key: the value associated with the key is the bundle-id of the application that launched this application.
[read-only]
static
LaunchOptionsUrlKeyFoundation.NSString. Launch Options Key: the application was launched in response to open a URL. the value associated with the key contains the URL to open.
[read-only]
static
LaunchOptionsUserActivityDictionaryKeyFoundation.NSString. Represents the value associated with the constant UIApplicationLaunchOptionsUserActivityDictionaryKey
[read-only]
static
LaunchOptionsUserActivityTypeKeyFoundation.NSString. Represents the value associated with the constant UIApplicationLaunchOptionsUserActivityTypeKey
[read-only]
static
MinimumKeepAliveTimeoutdouble. Represents the value associated with the constant UIMinimumKeepAliveTimeout
NetworkActivityIndicatorVisiblebool. Controls the status of the network activity indicator on the device.
[read-only]
static
OpenSettingsUrlStringFoundation.NSString. Represents the value associated with the constant UIApplicationOpenSettingsURLString
[read-only]
PreferredContentSizeCategoryFoundation.NSString. The font size preferred by the application user.
[read-only]
ProtectedDataAvailablebool. Whether content protection is available.
[read-only]
static
ProtectedDataDidBecomeAvailableFoundation.NSString. Indicates that the state of protected data has changed.
[read-only]
static
ProtectedDataWillBecomeUnavailableFoundation.NSString. Indicates that the state of protected data has changed.
ScheduledLocalNotificationsUILocalNotification[]. An array of UIKit.UILocalNotifications that are currently scheduled.
[read-only]
static
SharedApplicationUIApplication. Points to the main application class.
[read-only]
static
SignificantTimeChangeNotificationFoundation.NSString. Notification constant for SignificantTimeChange
[read-only]
static
StateRestorationBundleVersionKeyFoundation.NSString. Represents the value associated with the constant UIApplicationStateRestorationBundleVersionKey
[read-only]
static
StateRestorationSystemVersionKeyFoundation.NSString. Represents the value associated with the constant UIApplicationStateRestorationSystemVersionKey
[read-only]
static
StateRestorationTimestampKeyFoundation.NSString. Represents the value associated with the constant UIApplicationStateRestorationTimestampKey
[read-only]
static
StateRestorationUserInterfaceIdiomKeyFoundation.NSString. Represents the value associated with the constant UIApplicationStateRestorationUserInterfaceIdiomKey
[read-only]
StatusBarFrameCoreGraphics.CGRect. The Frame of the status bar.
[read-only]
static
StatusBarFrameUserInfoKeyFoundation.NSString. Represents the value associated with the constant UIApplicationStatusBarFrameUserInfoKey
StatusBarHiddenbool. Whether the status bar is visible.
StatusBarOrientationUIInterfaceOrientation. The orientation of the status bar.
[read-only]
StatusBarOrientationAnimationDurationdouble. The length of the animation used when the status bar rotates.
[read-only]
static
StatusBarOrientationUserInfoKeyFoundation.NSString. Represents the value associated with the constant UIApplicationStatusBarOrientationUserInfoKey
StatusBarStyleUIStatusBarStyle. The current UIKit.UIStatusBarStyle.
[read-only]
static
UITrackingRunLoopModeFoundation.NSString. Represents the value associated with the constant UITrackingRunLoopMode
[read-only]
static
UserDidTakeScreenshotNotificationFoundation.NSString. Notification constant for UserDidTakeScreenshot
[read-only]
UserInterfaceLayoutDirectionUIUserInterfaceLayoutDirection. The layout direction (right-to-left or left-to-right) of the UI.
WeakDelegateFoundation.NSObject. An object that can respond to the delegate protocol for this type
[read-only]
static
WillChangeStatusBarFrameNotificationFoundation.NSString. Notification constant for WillChangeStatusBarFrame
[read-only]
static
WillChangeStatusBarOrientationNotificationFoundation.NSString. Notification constant for WillChangeStatusBarOrientation
[read-only]
static
WillEnterForegroundNotificationFoundation.NSString. Notification constant for WillEnterForeground
[read-only]
static
WillResignActiveNotificationFoundation.NSString. Notification constant for WillResignActive
[read-only]
static
WillTerminateNotificationFoundation.NSString. Notification constant for WillTerminate
[read-only]
WindowsUIWindow[]. All of the application windows.