UIKit.UIApplication: Method Members

The methods 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 Methods

BeginBackgroundTask(Action) : nint
Indicates the inception of a new long-running background task.
BeginBackgroundTask(string, Action) : nint
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) : bool
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) : bool
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) : bool
Send an action message to the specified target.
SendEvent(UIEvent)
Sends an event to the application.
SetKeepAliveTimeout(double, Action) : bool
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) : UIInterfaceOrientationMask
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.

Protected Methods

override
Dispose(bool)
Releases the resources used by the UIApplication object.