The members of UIKit.UIApplication are listed below.
See Also: Inherited members from UIKit.UIResponder
Default constructor that initializes a new instance of this class with no parameters. |
Constructor to call on derived classes to skip initialization and merely allocate the object. | ||
A constructor used when creating managed representations of unmanaged objects; Called by the runtime. |
static | CheckForEventAndDelegateMismatches | bool. Documentation for this section has not yet been entered. |
static | CheckForIllegalCrossThreadCalls | bool. Determines whether the debug builds of MonoTouch will enforce that calls done to UIKit are only issued from the UI thread. |
ApplicationIconBadgeNumber | nint. Numeric value to display as the application badge number. | |
[read-only] | ApplicationState | UIApplicationState. Reflects the current application state. |
ApplicationSupportsShakeToEdit | bool. Controls whether shaking the device will bring up the undo/redo buttons. | |
[read-only] static | BackgroundFetchIntervalMinimum | double. Represents the value associated with the constant UIApplicationBackgroundFetchIntervalMinimum |
[read-only] static | BackgroundFetchIntervalNever | double. Represents the value associated with the constant UIApplicationBackgroundFetchIntervalNever |
[read-only] | BackgroundRefreshStatus | UIBackgroundRefreshStatus. Whether background processing is allowed, denied, or restricted. |
[read-only] static | BackgroundRefreshStatusDidChangeNotification | Foundation.NSString. Notification constant for BackgroundRefreshStatusDidChange |
[read-only] static | BackgroundTaskInvalid | nint. Represents the value associated with the constant UIBackgroundTaskInvalid |
[read-only] | BackgroundTimeRemaining | double. The number of seconds that the application has left to run in the background. |
[read-only] override | ClassHandle | IntPtr. The handle for this class. |
[read-only] static | ContentSizeCategoryChangedNotification | Foundation.NSString. Notification constant for ContentSizeCategoryChanged |
[read-only] | CurrentUserNotificationSettings | UIUserNotificationSettings. Returns current user notification settings for the app. |
Delegate | IUIApplicationDelegate. An instance of the UIKit.UIApplicationDelegate model class which acts as the class delegate. | |
[read-only] static | DidBecomeActiveNotification | Foundation.NSString. Notification constant for DidBecomeActive |
[read-only] static | DidChangeStatusBarFrameNotification | Foundation.NSString. Notification constant for DidChangeStatusBarFrame |
[read-only] static | DidChangeStatusBarOrientationNotification | Foundation.NSString. Notification constant for DidChangeStatusBarOrientation |
[read-only] static | DidEnterBackgroundNotification | Foundation.NSString. Notification constant for DidEnterBackground |
[read-only] static | DidFinishLaunchingNotification | Foundation.NSString. Notification constant for DidFinishLaunching |
[read-only] static | DidReceiveMemoryWarningNotification | Foundation.NSString. Notification constant for DidReceiveMemoryWarning |
[read-only] | EnabledRemoteNotificationTypes | UIRemoteNotificationType. Returns a bit-masked UIKit.UIRemoteNotificationType indicating which types of notifications the app accepts. |
IdleTimerDisabled | bool. If true, indicates that the screen should not dim even when no input is occurring. | |
[read-only] | IsIgnoringInteractionEvents | bool. Whether the receiver is ignoring touch events. |
[read-only] | IsRegisteredForRemoteNotifications | bool. Indicates whether app is registered for remote notifications. |
[read-only] | KeyWindow | UIWindow. Returns the application's key window - the window that is currently displayed and receives user input |
[read-only] static | LaunchOptionsAnnotationKey | Foundation.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 | LaunchOptionsBluetoothCentralsKey | Foundation.NSString. Represents the value associated with the constant UIApplicationLaunchOptionsBluetoothCentralsKey |
[read-only] static | LaunchOptionsBluetoothPeripheralsKey | Foundation.NSString. Represents the value associated with the constant UIApplicationLaunchOptionsBluetoothPeripheralsKey |
[read-only] static | LaunchOptionsLocalNotificationKey | Foundation.NSString. Notification constant for LaunchOptionsLocalNot |
[read-only] static | LaunchOptionsLocationKey | Foundation.NSString. Launch Options Key: Application was started up in response to a location event. |
[read-only] static | LaunchOptionsNewsstandDownloadsKey | Foundation.NSString. Launch Options Key: This key indicates that Newsstand has completed downloading the requested data. |
[read-only] static | LaunchOptionsRemoteNotificationKey | Foundation.NSString. Notification constant for LaunchOptionsRemoteNot |
[read-only] static | LaunchOptionsSourceApplicationKey | Foundation.NSString. Launch Options Key: the value associated with the key is the bundle-id of the application that launched this application. |
[read-only] static | LaunchOptionsUrlKey | Foundation.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 | LaunchOptionsUserActivityDictionaryKey | Foundation.NSString. Represents the value associated with the constant UIApplicationLaunchOptionsUserActivityDictionaryKey |
[read-only] static | LaunchOptionsUserActivityTypeKey | Foundation.NSString. Represents the value associated with the constant UIApplicationLaunchOptionsUserActivityTypeKey |
[read-only] static | MinimumKeepAliveTimeout | double. Represents the value associated with the constant UIMinimumKeepAliveTimeout |
NetworkActivityIndicatorVisible | bool. Controls the status of the network activity indicator on the device. | |
[read-only] static | OpenSettingsUrlString | Foundation.NSString. Represents the value associated with the constant UIApplicationOpenSettingsURLString |
[read-only] | PreferredContentSizeCategory | Foundation.NSString. The font size preferred by the application user. |
[read-only] | ProtectedDataAvailable | bool. Whether content protection is available. |
[read-only] static | ProtectedDataDidBecomeAvailable | Foundation.NSString. Indicates that the state of protected data has changed. |
[read-only] static | ProtectedDataWillBecomeUnavailable | Foundation.NSString. Indicates that the state of protected data has changed. |
ScheduledLocalNotifications | UILocalNotification[]. An array of UIKit.UILocalNotifications that are currently scheduled. | |
[read-only] static | SharedApplication | UIApplication. Points to the main application class. |
[read-only] static | SignificantTimeChangeNotification | Foundation.NSString. Notification constant for SignificantTimeChange |
[read-only] static | StateRestorationBundleVersionKey | Foundation.NSString. Represents the value associated with the constant UIApplicationStateRestorationBundleVersionKey |
[read-only] static | StateRestorationSystemVersionKey | Foundation.NSString. Represents the value associated with the constant UIApplicationStateRestorationSystemVersionKey |
[read-only] static | StateRestorationTimestampKey | Foundation.NSString. Represents the value associated with the constant UIApplicationStateRestorationTimestampKey |
[read-only] static | StateRestorationUserInterfaceIdiomKey | Foundation.NSString. Represents the value associated with the constant UIApplicationStateRestorationUserInterfaceIdiomKey |
[read-only] | StatusBarFrame | CoreGraphics.CGRect. The Frame of the status bar. |
[read-only] static | StatusBarFrameUserInfoKey | Foundation.NSString. Represents the value associated with the constant UIApplicationStatusBarFrameUserInfoKey |
StatusBarHidden | bool. Whether the status bar is visible. | |
StatusBarOrientation | UIInterfaceOrientation. The orientation of the status bar. | |
[read-only] | StatusBarOrientationAnimationDuration | double. The length of the animation used when the status bar rotates. |
[read-only] static | StatusBarOrientationUserInfoKey | Foundation.NSString. Represents the value associated with the constant UIApplicationStatusBarOrientationUserInfoKey |
StatusBarStyle | UIStatusBarStyle. The current UIKit.UIStatusBarStyle. | |
[read-only] static | UITrackingRunLoopMode | Foundation.NSString. Represents the value associated with the constant UITrackingRunLoopMode |
[read-only] static | UserDidTakeScreenshotNotification | Foundation.NSString. Notification constant for UserDidTakeScreenshot |
[read-only] | UserInterfaceLayoutDirection | UIUserInterfaceLayoutDirection. The layout direction (right-to-left or left-to-right) of the UI. |
WeakDelegate | Foundation.NSObject. An object that can respond to the delegate protocol for this type | |
[read-only] static | WillChangeStatusBarFrameNotification | Foundation.NSString. Notification constant for WillChangeStatusBarFrame |
[read-only] static | WillChangeStatusBarOrientationNotification | Foundation.NSString. Notification constant for WillChangeStatusBarOrientation |
[read-only] static | WillEnterForegroundNotification | Foundation.NSString. Notification constant for WillEnterForeground |
[read-only] static | WillResignActiveNotification | Foundation.NSString. Notification constant for WillResignActive |
[read-only] static | WillTerminateNotification | Foundation.NSString. Notification constant for WillTerminate |
[read-only] | Windows | UIWindow[]. All of the application windows. |
BeginBackgroundTask(Action)Indicates the inception of a new long-running background task. | ||
BeginBackgroundTask(string, Action)Requests that the app be allowed to process in the background. | ||
BeginIgnoringInteractionEvents()Stops the application from receiving touch events. | ||
BeginReceivingRemoteControlEvents()Indicates that the application should start listening for remote-control events. | ||
CancelAllLocalNotifications()Cancels the delivery of scheduled local notifications. | ||
CancelLocalNotification(UILocalNotification)Cancels a local notification. | ||
CanOpenUrl(Foundation.NSUrl)Determines whether the given URL can be opened by OpenUrl. | ||
ClearKeepAliveTimeout()Stops invoking the KeepAlive method defined previously with SetKeepAliveTimeout. | ||
CompleteStateRestoration()Indicates to the system that state restoration is complete. | ||
EndBackgroundTask(nint)Indicates to the system that background processing has ended for the taskId. | ||
EndIgnoringInteractionEvents()Resumes receiving touch events for the application. | ||
EndReceivingRemoteControlEvents()Indicates that the application should nto receive further remote-control events. | ||
static | EnsureUIThread()Assertion to ensure that this call is being done from the UIKit thread. | |
ExtendStateRestoration()Indicates that the application is restoring state asynchronously. | ||
IgnoreSnapshotOnNextApplicationLaunch()Instructs the system not to use a UI snapshot during relaunch. | ||
static | Main(string[])Launches the main application loop with the given command line parameters. | |
static | Main(string[], string, string)Launches the main application loop with the given command line parameters. | |
static | Main(string[], Type, Type)Launches the main application loop with the given command line parameters. | |
OpenUrl(Foundation.NSUrl)Opens the specified URL, launching the app that's registered to handle the scheme. | ||
PresentLocalNotificationNow(UILocalNotification)Immediately presents a local notification. | ||
RegisterForRemoteNotifications()Registers for receipt of push notifications using the Apple Push Service. | ||
RegisterForRemoteNotificationTypes(UIRemoteNotificationType)Begins the registration of the application to receive the specified types of notification from Apple Push Service. | ||
static | RegisterObjectForStateRestoration(IUIStateRestoring, string)Registers the uistateRestoringObject as eligible for state restoration. | |
RegisterUserNotificationSettings(UIUserNotificationSettings)Registers the preferred options for user notification. | ||
ScheduleLocalNotification(UILocalNotification)Schedules the notification for delivery. | ||
SendAction(ObjCRuntime.Selector, Foundation.NSObject, Foundation.NSObject, UIEvent)Send an action message to the specified target. | ||
SendEvent(UIEvent)Sends an event to the application. | ||
SetKeepAliveTimeout(double, Action)In older iOS versions, this configures a periodic handler for VoIP apps. | ||
SetMinimumBackgroundFetchInterval(double)Activates backgound fetching. | ||
SetNewsstandIconImage(UIImage)Sets the icon to be used in Newsstand. | ||
SetStatusBarHidden(bool, bool)Hides or shows the animation bar, and whether it should be animated. | ||
SetStatusBarHidden(bool, UIStatusBarAnimation)Hides or shows the status bar. | ||
SetStatusBarOrientation(UIInterfaceOrientation, bool)Sets the status bar to orientation. | ||
SetStatusBarStyle(UIStatusBarStyle, bool)Sets the style of the status bar, optionally animating the change. | ||
SupportedInterfaceOrientationsForWindow(UIWindow)The set of interface orientations that are used for the view controllers in the specified window. | ||
UnregisterForRemoteNotifications()The application will no longer receive notifications from Apple Push Service. |