편집

다음을 통해 공유


UIApplication Class

Definition

Encapsulates the main processing loop for a MonoTouch application.

[Foundation.Register("UIApplication", true)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public class UIApplication : UIKit.UIResponder
type UIApplication = class
    inherit UIResponder
Inheritance
UIApplication
Attributes

Remarks

The UIApplication encapsulates the central administrative properties of an application running on iOS. Application developers must not instantiate new UIApplications using constructors, but instead must use the static SharedApplication singleton property. Application developers may subclass UIApplication and use the principalClassName argument to the M:UIKit.UIApplication.Main(string[],string,string) method to specify their subclass. In that situation, developers must create a public constructor for their subclass that the runtime will call appropriately. Subsequently, the SharedApplication singleton will refer to the instance of their subclass.

Unlike with most classes in the N:UIKit namespace, events relating to the UIApplication cannot be handled using C#-style events but rather only by the Objective-C style UIApplicationDelegate delegate style.

The UIApplication object is responsible for maintaining the highest-level context of the application, such as the ApplicationState, the set of open windows (Windows), and functions relating to notifications (see also T:UIKit.UIAppearance+Notifications.xml). Additionally, the UIApplication() method may be used to launch another application.

The UIApplication class contains methods relating to background processing, such as EnsureUIThread(), BeginBackgroundTask(String, Action), and EndBackgroundTask(nint).

Background Fetch

Starting with iOS 7, applications can request that they be woken up to download data from the server in the background. When this feature is enabled, the operating system will resume the application or launch the application at some point to allow the application to download any new contents it needs from the server.

To use this, applications need to have the "fetch" background operation requested on their requested Entitlements as well as calling the SetMinimumBackgroundFetchInterval(Double) method with the desired wake up interval at launch.

When the operating system determines that the application should be resumed to download data, the PerformFetch(UIApplication, Action<UIBackgroundFetchResult>) method will be invoked. This method should perform any downloads and then notify the operating system of the result of the operation.

Applications do not really have control of when the application will be launched. The actual launch time is determined by a set of heuristics based that the operating system tracks based on how the user uses the application, as well as tracking the status of previous download operations that the application has done.

Remote Notifications

Starting with iOS 7, applications can request that they be woken up when a remote notification is received. When this feature is enabled, the operating system will resume the application and invoke the DidReceiveRemoteNotification(IUIApplicationDelegate, UIApplication, NSDictionary, Action<UIBackgroundFetchResult>) overload that takes a completion handler parameter and let it run.

To use this, applications need to have the "remote-notification" background operation requested on their requested Entitlements as.

Constructors

UIApplication()

Default constructor that initializes a new instance of this class with no parameters.

UIApplication(IntPtr)

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

CheckForEventAndDelegateMismatches

If true, the system will try to diagnose potential mistakes where events and delegate-object overrides are in conflict.

CheckForIllegalCrossThreadCalls

Determines whether the debug builds of MonoTouch will enforce that calls done to UIKit are only issued from the UI thread.

Properties

AccessibilityAssistiveTechnologyFocusedIdentifiers (Inherited from UIResponder)
AccessibilityCustomActions

Allows methods to be added to AccessibilityCustomActions as accessibility-supporting supplementary actions.

(Inherited from UIResponder)
AccessibilityDragSourceDescriptors (Inherited from UIResponder)
AccessibilityDropPointDescriptors (Inherited from UIResponder)
AlternateIconName

Gets the name of the alternate icon for this application, if present.

ApplicationIconBadgeNumber

Numeric value to display as the application badge number.

ApplicationState

Reflects the current application state.

ApplicationSupportsShakeToEdit

Controls whether shaking the device will bring up the undo/redo buttons.

BackgroundFetchIntervalMinimum

Represents the value associated with the constant UIApplicationBackgroundFetchIntervalMinimum

BackgroundFetchIntervalNever

Represents the value associated with the constant UIApplicationBackgroundFetchIntervalNever

BackgroundRefreshStatus

Whether background processing is allowed, denied, or restricted.

BackgroundRefreshStatusDidChangeNotification

Notification constant for BackgroundRefreshStatusDidChange

BackgroundTaskInvalid

Represents the value associated with the constant UIBackgroundTaskInvalid

BackgroundTimeRemaining

The number of seconds that the application has left to run in the background.

CanBecomeFirstResponder

Determines whether this UIREsponder is willing to become the first responder.

(Inherited from UIResponder)
CanResignFirstResponder

Determines whether this UIResponder is willing to give up its first responder status.

(Inherited from UIResponder)
Class (Inherited from NSObject)
ClassHandle

The handle for this class.

ContentSizeCategoryChangedNotification

Notification constant for ContentSizeCategoryChanged

CurrentUserNotificationSettings

Returns current user notification settings for the app.

DebugDescription

A developer-meaningful description of this object.

(Inherited from NSObject)
Delegate

An instance of the UIKit.IUIApplicationDelegate model class which acts as the class delegate.

Description

Description of the object, the Objective-C version of ToString.

(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

EnabledRemoteNotificationTypes

Returns a bit-masked UIRemoteNotificationType indicating which types of notifications the app accepts.

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from NSObject)
IdleTimerDisabled

If true, indicates that the screen should not dim even when no input is occurring.

InputAccessoryView

Custom view that can be attached when the object becomes the first responder.

(Inherited from UIResponder)
InputAccessoryViewController

Gets the custom accessory UIInputViewController to display when this UIResponder becomes the first responder.

(Inherited from UIResponder)
InputAssistantItem

Gets the assistant that will be used to configure the shortcut bar.

(Inherited from UIResponder)
InputView

Custom view to display when the object becomes the first responder. Read-only.

(Inherited from UIResponder)
InputViewController

Gets the custom UIInputViewController to display when this UIResponder becomes the first responder.

(Inherited from UIResponder)
IsDirectBinding (Inherited from NSObject)
IsFirstResponder

Returns whether this UIResponder is the First Responder.

(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

The key commands that should trigger action on this UIResponder. Read-only.

(Inherited from UIResponder)
KeyWindow

Returns the application's key window - the window that is currently displayed and receives user input

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
LaunchOptionsLocalNotificationKey

Notification constant for LaunchOptionsLocalNot

LaunchOptionsLocationKey

Launch Options Key: Application was started up in response to a location event.

LaunchOptionsNewsstandDownloadsKey

Launch Options Key: This key indicates that Newsstand has completed downloading the requested data.

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

MinimumKeepAliveTimeout

Represents the value associated with the constant UIMinimumKeepAliveTimeout

NetworkActivityIndicatorVisible

Controls the status of the network activity indicator on the device.

NextResponder

The next responder on the response chain

(Inherited from UIResponder)
OpenSettingsUrlString

Represents the value associated with the constant UIApplicationOpenSettingsURLString

PasteConfiguration

The UIPasteConfiguration supported by this object.

(Inherited from UIResponder)
PreferredContentSizeCategory

The font size preferred by the application user.

ProtectedDataAvailable

Whether content protection is available.

ProtectedDataDidBecomeAvailable

Indicates that the state of protected data has changed.

ProtectedDataWillBecomeUnavailable

Indicates that the state of protected data has changed.

RetainCount

Returns the current Objective-C retain count for the object.

(Inherited from NSObject)
ScheduledLocalNotifications

An array of UILocalNotifications that are currently scheduled.

Self (Inherited from NSObject)
SharedApplication

Points to the main application class.

ShortcutItems

Gets or sets the list of Quick Action shortcuts that the developer defined in code, as distinct from those defined in the Info.plist file.

SignificantTimeChangeNotification

Notification constant for SignificantTimeChange

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

The Frame of the status bar.

StatusBarFrameUserInfoKey

Represents the value associated with the constant UIApplicationStatusBarFrameUserInfoKey

StatusBarHidden

Whether the status bar is visible.

StatusBarOrientation

The orientation of the status bar.

StatusBarOrientationAnimationDuration

The length of the animation used when the status bar rotates.

StatusBarOrientationUserInfoKey

Represents the value associated with the constant UIApplicationStatusBarOrientationUserInfoKey

StatusBarStyle

The current UIStatusBarStyle.

Superclass (Inherited from NSObject)
SuperHandle

Handle used to represent the methods in the base class for this NSObject.

(Inherited from NSObject)
SupportsAlternateIcons
TextInputContextIdentifier

An identifier indicating that this UIResponder should preserve its text input mode information. Read-only.

(Inherited from UIResponder)
TextInputMode

The text input mode for this UIResponder. Read-only.

(Inherited from UIResponder)
UITrackingRunLoopMode

Represents the value associated with the constant UITrackingRunLoopMode

UndoManager

The nearest shared NSUndoManager in the responder chain. Read-only.

(Inherited from UIResponder)
UserActivity

Action that encapsulates a user activity that is supported by this responder.

(Inherited from UIResponder)
UserDidTakeScreenshotNotification

Notification constant for UserDidTakeScreenshot

UserInterfaceLayoutDirection

The layout direction (right-to-left or left-to-right) of the UI.

WeakDelegate

An object that can respond to the delegate protocol for this type

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

All of the application windows.

Zone (Inherited from NSObject)

Methods

AccessibilityDecrement()

Tells the accessibility element to decrement the value of its content.

(Inherited from UIResponder)
AccessibilityElementDidBecomeFocused()

Indicates that an assistive technology has set its focus to this UIResponder.

(Inherited from UIResponder)
AccessibilityElementDidLoseFocus()

Indicates that an assistive technology has changed its focus from this UIResponder.

(Inherited from UIResponder)
AccessibilityElementIsFocused()

Indicates whether an assistive technology is focused on this UIResponder.

(Inherited from UIResponder)
AccessibilityIncrement()

Tells the accessibility element to increment the value of its content.

(Inherited from UIResponder)
AccessibilityPerformEscape()

Tells the accessibility system to dismiss a modal popover or hierarchically-displayed element.

(Inherited from UIResponder)
AccessibilityPerformMagicTap()

Toggles the application-defined "most important state" of the app.

(Inherited from UIResponder)
AccessibilityScroll(UIAccessibilityScrollDirection)

When overridden, allows the accessibility system to perform scrolling.

(Inherited from UIResponder)
AddObserver(NSObject, NSString, NSKeyValueObservingOptions, IntPtr)

Registers an object for being observed externally (using NSString keyPath).   Observed changes are dispatched to the observer’s object ObserveValue(NSString, NSObject, NSDictionary, IntPtr) method.

(Inherited from NSObject)
AddObserver(NSObject, String, NSKeyValueObservingOptions, IntPtr)

Registers an object for being observed externally (using string keyPath).   Observed changes are dispatched to the observer’s object ObserveValue(NSString, NSObject, NSDictionary, IntPtr) method.

(Inherited from NSObject)
AddObserver(NSString, NSKeyValueObservingOptions, Action<NSObservedChange>)

Registers an object for being observed externally using an arbitrary method.

(Inherited from NSObject)
AddObserver(String, NSKeyValueObservingOptions, Action<NSObservedChange>)

Registers an object for being observed externally using an arbitrary method.

(Inherited from NSObject)
AwakeFromNib()

Called after the object has been loaded from the nib file. Overriders must call base.AwakeFromNib().

(Inherited from NSObject)
BecomeFirstResponder()

Request the object to become the first responder.

(Inherited from UIResponder)
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.

BeginInvokeOnMainThread(Action) (Inherited from NSObject)
BeginInvokeOnMainThread(Selector, NSObject)

Invokes asynchrously the specified code on the main UI thread.

(Inherited from NSObject)
BeginReceivingRemoteControlEvents()

Indicates that the application should start listening for remote-control events.

Bind(NSString, NSObject, String, NSDictionary) (Inherited from NSObject)
Bind(String, NSObject, String, NSDictionary)
Obsolete.
(Inherited from NSObject)
BindingInfo(String)
Obsolete.
(Inherited from NSObject)
BindingOptionDescriptions(String)
Obsolete.
(Inherited from NSObject)
BindingValueClass(String)
Obsolete.
(Inherited from NSObject)
CancelAllLocalNotifications()

Developers should not use this deprecated method. Developers should use 'UNUserNotificationCenter.RemoveAllPendingNotificationRequests' instead.

CancelLocalNotification(UILocalNotification)

Cancels a local notification.

CanOpenUrl(NSUrl)

Determines whether the given URL can be opened by OpenUrl.

CanPaste(NSItemProvider[])

Gets whether this can accept a paste operation by the .

(Inherited from UIResponder)
CanPerform(Selector, NSObject)

Determines if this UIResponder can perform the specified action. Typically used to probe for editing commands.

(Inherited from UIResponder)
ClearKeepAliveTimeout()

Stops invoking the KeepAlive method defined previously with SetKeepAliveTimeout.

CommitEditing() (Inherited from NSObject)
CommitEditing(NSObject, Selector, IntPtr) (Inherited from NSObject)
CompleteStateRestoration()

Indicates to the system that state restoration is complete.

ConformsToProtocol(IntPtr)

Invoked to determine if this object implements the specified protocol.

(Inherited from NSObject)
Copy()

Performs a copy of the underlying Objective-C object.

(Inherited from NSObject)
Copy(NSObject)

Indicates a "Copy" editing operation.

(Inherited from UIResponder)
Cut(NSObject)

Indicates a "Cut" editing operation.

(Inherited from UIResponder)
DangerousAutorelease() (Inherited from NSObject)
DangerousRelease() (Inherited from NSObject)
DangerousRetain() (Inherited from NSObject)
Delete(NSObject)

Indicates a "Delete" editing operation.

(Inherited from UIResponder)
DidChange(NSKeyValueChange, NSIndexSet, NSString)

Indicates a change occurred to the indexes for a to-many relationship.

(Inherited from NSObject)
DidChange(NSString, NSKeyValueSetMutationKind, NSSet) (Inherited from NSObject)
DidChangeValue(String)

Indicates that a change occurred on the specified key.

(Inherited from NSObject)
Dispose()

Releases the resources used by the NSObject object.

(Inherited from NSObject)
Dispose(Boolean)

Releases the resources used by the UIApplication object.

DoesNotRecognizeSelector(Selector)

Indicates that this object does not recognize the specified selector.

(Inherited from NSObject)
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.

EnsureUIThread()

Assertion to ensure that this call is being done from the UIKit thread.

Equals(NSObject) (Inherited from NSObject)
Equals(Object) (Inherited from NSObject)
ExposedBindings() (Inherited from NSObject)
ExtendStateRestoration()

Indicates that the application is restoring state asynchronously.

GetBindingInfo(NSString) (Inherited from NSObject)
GetBindingOptionDescriptions(NSString) (Inherited from NSObject)
GetBindingValueClass(NSString) (Inherited from NSObject)
GetDictionaryOfValuesFromKeys(NSString[])

Retrieves the values of the specified keys.

(Inherited from NSObject)
GetHashCode()

Generates a hash code for the current instance.

(Inherited from NSObject)
GetMethodForSelector(Selector) (Inherited from NSObject)
GetNativeField(String)
Obsolete.
(Inherited from NSObject)
GetNativeHash() (Inherited from NSObject)
GetTargetForAction(Selector, NSObject)

Returns the object that responds to an action.

(Inherited from UIResponder)
IgnoreSnapshotOnNextApplicationLaunch()

Instructs the system not to use a UI snapshot during relaunch.

Init() (Inherited from NSObject)
InitializeHandle(IntPtr, String) (Inherited from NSObject)
InitializeHandle(IntPtr) (Inherited from NSObject)
Invoke(Action, Double) (Inherited from NSObject)
Invoke(Action, TimeSpan) (Inherited from NSObject)
InvokeOnMainThread(Action) (Inherited from NSObject)
InvokeOnMainThread(Selector, NSObject)

Invokes synchrously the specified code on the main UI thread.

(Inherited from NSObject)
IsEqual(NSObject) (Inherited from NSObject)
IsKindOfClass(Class) (Inherited from NSObject)
IsMemberOfClass(Class) (Inherited from NSObject)
Main(String[], String, String)

Launches the main application loop with the given command line parameters.

Main(String[], Type, Type)

Launches the main application loop with the given command line parameters.

Main(String[])

Launches the main application loop with the given command line parameters.

MakeTextWritingDirectionLeftToRight(NSObject)

Sets the direction in which text is written to be left-to-right.

(Inherited from UIResponder)
MakeTextWritingDirectionRightToLeft(NSObject)

Sets the direction in which text is written to be right-to-left.

(Inherited from UIResponder)
MarkDirty()

Promotes a regular peer object (IsDirectBinding is true) into a toggleref object.

(Inherited from NSObject)
MotionBegan(UIEventSubtype, UIEvent)

Method invoked when a motion (a shake) has started.

(Inherited from UIResponder)
MotionCancelled(UIEventSubtype, UIEvent)

Method invoked if the operating system cancels a motion (shake) event.

(Inherited from UIResponder)
MotionEnded(UIEventSubtype, UIEvent)

Method invoked when a motion (shake) has finished.

(Inherited from UIResponder)
MutableCopy()

Creates a mutable copy of the specified NSObject.

(Inherited from NSObject)
ObjectDidEndEditing(NSObject) (Inherited from NSObject)
ObserveValue(NSString, NSObject, NSDictionary, IntPtr)

Indicates that the value at the specified keyPath relative to this object has changed.

(Inherited from NSObject)
OpenUrl(NSUrl, NSDictionary, Action<Boolean>)

Opens the specified URL, launching the app that's registered to handle the scheme.

OpenUrl(NSUrl, UIApplicationOpenUrlOptions, Action<Boolean>)

Opens the specified URL, launching the app that is registered to handle the scheme.

OpenUrl(NSUrl)

Opens the specified URL, launching the app that's registered to handle the scheme.

OpenUrlAsync(NSUrl, UIApplicationOpenUrlOptions)

Asynchronously opens the specified URL, launching the app that is registered to handle the scheme, and returns a task the represents success or failure.

Paste(NSItemProvider[])

Called to perform a paste operation from .

(Inherited from UIResponder)
Paste(NSObject)

Indicates a "Paste" editing operation.

(Inherited from UIResponder)
PerformSelector(Selector, NSObject, Double, NSString[]) (Inherited from NSObject)
PerformSelector(Selector, NSObject, Double)

Invokes the selector on the current instance and if the obj is not null, it passes this as its single parameter.

(Inherited from NSObject)
PerformSelector(Selector, NSObject, NSObject) (Inherited from NSObject)
PerformSelector(Selector, NSObject) (Inherited from NSObject)
PerformSelector(Selector, NSThread, NSObject, Boolean, NSString[]) (Inherited from NSObject)
PerformSelector(Selector, NSThread, NSObject, Boolean) (Inherited from NSObject)
PerformSelector(Selector) (Inherited from NSObject)
PrepareForInterfaceBuilder() (Inherited from NSObject)
PresentLocalNotificationNow(UILocalNotification)

Immediately presents a local notification.

PressesBegan(NSSet<UIPress>, UIPressesEvent)

Indicates that a physical button has been pressed on a remote or game controller.

(Inherited from UIResponder)
PressesCancelled(NSSet<UIPress>, UIPressesEvent)

Indicates a physical button-press event has been cancelled due to a system event.

(Inherited from UIResponder)
PressesChanged(NSSet<UIPress>, UIPressesEvent)

Indicates that the Force value of the evt has changed.

(Inherited from UIResponder)
PressesEnded(NSSet<UIPress>, UIPressesEvent)

Indicates the ending of a press of a physical button on a remote or game controller.

(Inherited from UIResponder)
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.

RegisterObjectForStateRestoration(IUIStateRestoring, String)

Registers the uistateRestoringObject as eligible for state restoration.

RegisterUserNotificationSettings(UIUserNotificationSettings)

Registers the preferred options for user notification.

ReloadInputViews()

Updates custom input and accessory views when this object is the first responder.

(Inherited from UIResponder)
RemoteControlReceived(UIEvent)

Indicates that a remote-control event was received.

(Inherited from UIResponder)
RemoveObserver(NSObject, NSString, IntPtr)

Stops the specified observer from receiving further notifications of changed values for the specified keyPath and context.

(Inherited from NSObject)
RemoveObserver(NSObject, NSString)

Stops the specified observer from receiving further notifications of changed values for the specified keyPath.

(Inherited from NSObject)
RemoveObserver(NSObject, String, IntPtr)

Stops the specified observer from receiving further notifications of changed values for the specified keyPath and context.

(Inherited from NSObject)
RemoveObserver(NSObject, String)

Stops the specified observer from receiving further notifications of changed values for the specified keyPath.

(Inherited from NSObject)
ResignFirstResponder()

Called when this UIResponder has been asked to resign its first responder status.

(Inherited from UIResponder)
RespondsToSelector(Selector)

Whether this object recognizes the specified selector.

(Inherited from NSObject)
RestoreUserActivityState(NSUserActivity)

Restores the state that is necessary for continuance of the specified user activity.

(Inherited from UIResponder)
ScheduleLocalNotification(UILocalNotification)

Schedules the notification for delivery.

Select(NSObject)

Indicates a "Select" editing operation.|b

(Inherited from UIResponder)
SelectAll(NSObject)

Indicates a "Select All" editing operation.

(Inherited from UIResponder)
SendAction(Selector, NSObject, NSObject, UIEvent)

Send an action message to the specified target.

SendEvent(UIEvent)

Sends an event to the application.

SetAlternateIconName(String, Action<NSError>)

Sets the name of the alternate icon.

SetAlternateIconNameAsync(String)

Sets the name of the alternate icon.

SetKeepAliveTimeout(Double, Action)

In older iOS versions, this configures a periodic handler for VoIP apps.

SetMinimumBackgroundFetchInterval(Double)

Activates backgound fetching.

SetNativeField(String, NSObject)
Obsolete.
(Inherited from NSObject)
SetNewsstandIconImage(UIImage)

Sets the icon to be used in Newsstand.

SetNilValueForKey(NSString)

Sets the value of the specified key to null.

(Inherited from NSObject)
SetStatusBarHidden(Boolean, Boolean)

Hides or shows the animation bar, and whether it should be animated.

SetStatusBarHidden(Boolean, UIStatusBarAnimation)

Hides or shows the status bar.

SetStatusBarOrientation(UIInterfaceOrientation, Boolean)

Sets the status bar to orientation.

SetStatusBarStyle(UIStatusBarStyle, Boolean)

Sets the style of the status bar, optionally animating the change.

SetValueForKey(NSObject, NSString)

Sets the value of the property specified by the key to the specified value.

(Inherited from NSObject)
SetValueForKeyPath(IntPtr, NSString)

A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

(Inherited from NSObject)
SetValueForKeyPath(NSObject, NSString)

Sets the value of a property that can be reached using a keypath.

(Inherited from NSObject)
SetValueForUndefinedKey(NSObject, NSString)

Indicates an attempt to write a value to an undefined key. If not overridden, raises an NSUndefinedKeyException.

(Inherited from NSObject)
SetValuesForKeysWithDictionary(NSDictionary)

Sets the values of this NSObject to those in the specified dictionary.

(Inherited from NSObject)
SupportedInterfaceOrientationsForWindow(UIWindow)

The set of interface orientations that are used for the view controllers in the specified window.

ToggleBoldface(NSObject)

Toggles the use of a bold font.

(Inherited from UIResponder)
ToggleItalics(NSObject)

Toggles the use of an italic font.

(Inherited from UIResponder)
ToggleUnderline(NSObject)

Toggles the use of underlining.

(Inherited from UIResponder)
ToString()

Returns a string representation of the value of the current instance.

(Inherited from NSObject)
TouchesBegan(NSSet, UIEvent)

Sent when one or more fingers touches the screen.

(Inherited from UIResponder)
TouchesCancelled(NSSet, UIEvent)

Sent when the touch processing has been cancelled.

(Inherited from UIResponder)
TouchesEnded(NSSet, UIEvent)

Sent when one or more fingers are lifted from the screen.

(Inherited from UIResponder)
TouchesEstimatedPropertiesUpdated(NSSet)

Called when the estimated properties of touches have been updated.

(Inherited from UIResponder)
TouchesMoved(NSSet, UIEvent)

Sent when one or more fingers move on the screen.

(Inherited from UIResponder)
Unbind(NSString) (Inherited from NSObject)
Unbind(String)
Obsolete.
(Inherited from NSObject)
UnregisterForRemoteNotifications()

The application will no longer receive notifications from Apple Push Service.

UpdateUserActivityState(NSUserActivity)

Updates a given user activity state.

(Inherited from UIResponder)
ValueForKey(NSString)

Returns the value of the property associated with the specified key.

(Inherited from NSObject)
ValueForKeyPath(NSString)

Returns the value of a property that can be reached using a keypath.

(Inherited from NSObject)
ValueForUndefinedKey(NSString)

Indicates an attempt to read a value of an undefined key. If not overridden, raises an NSUndefinedKeyException.

(Inherited from NSObject)
WillChange(NSKeyValueChange, NSIndexSet, NSString)

Indicates that the values of the specified indices in the specified key are about to change.

(Inherited from NSObject)
WillChange(NSString, NSKeyValueSetMutationKind, NSSet) (Inherited from NSObject)
WillChangeValue(String)

Indicates that the value of the specified key is about to change.

(Inherited from NSObject)

Extension Methods

GetDebugDescription(INSObjectProtocol)
GetAccessibilityCustomRotors(NSObject)

Gets the array of UIAccessibilityCustomRotor objects appropriate for this object.

SetAccessibilityCustomRotors(NSObject, UIAccessibilityCustomRotor[])

Sets the array of UIAccessibilityCustomRotor objects appropriate for this object.

CanPaste(IUIPasteConfigurationSupporting, NSItemProvider[])

Returns true if the responder can paste from the specified item providers.

Paste(IUIPasteConfigurationSupporting, NSItemProvider[])

Performs the paste.

DecreaseSize(UIResponder, NSObject)

A hardware keyboard request (Command-minus) to decrease the size of the UIResponder.

IncreaseSize(UIResponder, NSObject)

A hardware keyboard request (Command-plus) to increase the size of the UIResponder.

Applies to

See also