Share via


UIViewController Class

Definition

[Foundation.Register("UIViewController", true)]
public class UIViewController : UIKit.UIResponder, Foundation.INSCoding, Foundation.INSExtensionRequestHandling, IDisposable, System.Collections.IEnumerable, UIKit.IUIAppearanceContainer, UIKit.IUIContentContainer, UIKit.IUIFocusEnvironment, UIKit.IUITraitChangeObservable, UIKit.IUITraitEnvironment
[<Foundation.Register("UIViewController", true)>]
type UIViewController = class
    inherit UIResponder
    interface IEnumerable
    interface INSCoding
    interface INativeObject
    interface IDisposable
    interface INSExtensionRequestHandling
    interface IUIAppearanceContainer
    interface IUIContentContainer
    interface IUIFocusEnvironment
    interface IUITraitChangeObservable
    interface IUITraitEnvironment
Inheritance
UIViewController
Derived
Attributes
Implements

Constructors

Name Description
UIViewController()

Creates a new UIViewController with default values.

UIViewController(NativeHandle)

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

UIViewController(NSCoder)

A constructor that initializes the object from the data stored in the unarchiver object.

UIViewController(NSObjectFlag)

Constructor to call on derived classes to skip initialization and merely allocate the object.

UIViewController(String, NSBundle)

Properties

Name Description
AccessibilityAssistiveTechnologyFocusedIdentifiers (Inherited from UIResponder)
AccessibilityAttributedUserInputLabels (Inherited from NSObject)
AccessibilityCustomActions (Inherited from UIResponder)
AccessibilityDragSourceDescriptors (Inherited from UIResponder)
AccessibilityDropPointDescriptors (Inherited from UIResponder)
AccessibilityRespondsToUserInteraction (Inherited from NSObject)
AccessibilityTextualContext (Inherited from NSObject)
AccessibilityUserInputLabels (Inherited from NSObject)
ActivePresentationController
ActivityItemsConfiguration (Inherited from UIResponder)
AdditionalSafeAreaInsets
AutomaticallyAdjustsScrollViewInsets
AutomaticallyForwardAppearanceAndRotationMethodsToChildViewControllers
BottomLayoutGuide
CanBecomeFirstResponder (Inherited from UIResponder)
CanResignFirstResponder (Inherited from UIResponder)
ChildViewControllerForHomeIndicatorAutoHidden
ChildViewControllerForPointerLock
ChildViewControllerForScreenEdgesDeferringSystemGestures
ChildViewControllerForTouchBar
ChildViewControllerForUserInterfaceStyle
ChildViewControllers
Class (Inherited from NSObject)
ClassHandle

The Objective-C class handle for this class.

ContentSizeForViewInPopover
ContentUnavailableConfiguration
ContentUnavailableConfigurationState
DebugDescription (Inherited from NSObject)
DefinesPresentationContext
Description (Inherited from NSObject)
DisablesAutomaticKeyboardDismissal
EdgesForExtendedLayout
EditButtonItem
Editing

true if the UIViewController allows the application user to edit the UIView contents.

EditingInteractionConfiguration (Inherited from UIResponder)
ExtendedLayoutIncludesOpaqueBars
ExtensionContext
FocusGroupIdentifier
FocusItemContainer

Gets the container that manages focus information for child focus items.

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from NSObject)
HidesBottomBarWhenPushed
HierarchyInconsistencyException

Constant used to identify broken UIViewController hierarchies.

InputAccessoryView (Inherited from UIResponder)
InputAccessoryViewController (Inherited from UIResponder)
InputAssistantItem (Inherited from UIResponder)
InputView (Inherited from UIResponder)
InputViewController (Inherited from UIResponder)
InteractionActivityTrackingBaseName
InterfaceOrientation
IsBeingDismissed

true if the current UIViewController is in the process of being dismissed.

IsBeingPresented

true if the current UIViewController is in the process of being presented.

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

true if the current UIViewController is in the process of being removed from its parent UIViewController.

IsMovingToParentViewController

true if the current UIViewController is in the process of being added to a parent UIViewController.

IsProxy (Inherited from NSObject)
IsViewLoaded

A Boolean indicating whether the View is loaded into memory.

KeyCommands (Inherited from UIResponder)
ModalInPopover

true if this UIViewController should be presented modally by a UIPopoverController.

ModalInPresentation
ModalPresentationCapturesStatusBarAppearance
ModalPresentationStyle
ModalTransitionStyle
ModalViewController
NavigationController
NavigationItem
NextResponder (Inherited from UIResponder)
NibBundle
NibName
OverrideUserInterfaceStyle
ParentFocusEnvironment

Gets the parent focus environment.

ParentViewController
PasteConfiguration

The UIPasteConfiguration supported by this object.

(Inherited from UIResponder)
PerformsActionsWhilePresentingModally
PopoverPresentationController
PreferredContentSize
PreferredFocusedView

If not null, indicates the child UIView that should receive focus by default.

PreferredFocusEnvironments

Gets the list of focus environments, ordered by priority, that the environment prefers when updating the focus.

PreferredScreenEdgesDeferringSystemGestures
PreferredStatusBarUpdateAnimation
PreferredTransition
PreferredUserInterfaceStyle
PrefersHomeIndicatorAutoHidden
PrefersPointerLocked
PresentationController
PresentedViewController
PresentingViewController
PreviewActionItems
ProvidesPresentationContextTransitionStyle
RestorationClass
RestorationIdentifier
RestoresFocusAfterTransition
RetainCount (Inherited from NSObject)
RotatingFooterView
RotatingHeaderView
SearchDisplayController
Self (Inherited from NSObject)
SheetPresentationController
ShouldAutomaticallyForwardAppearanceMethods
ShouldAutomaticallyForwardRotationMethods
ShowDetailTargetDidChangeNotification

Notification constant for ShowDetailTargetDidChange

SplitViewController
Storyboard
Superclass (Inherited from NSObject)
SuperHandle

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

(Inherited from NSObject)
SystemMinimumLayoutMargins
Tab
TabBarController
TabBarItem
TabBarObservedScrollView
TextInputContextIdentifier (Inherited from UIResponder)
TextInputMode (Inherited from UIResponder)
Title
ToolbarItems
TopLayoutGuide
TouchBar (Inherited from UIResponder)
TraitCollection

Gets the trait collection that describes the environment.

TraitOverrides
TransitioningDelegate

A delegate object that is responsible for producing IUIViewControllerAnimatedTransitionings for custom presentation.

UndoManager (Inherited from UIResponder)
UserActivity (Inherited from UIResponder)
View
ViewIfLoaded
ViewRespectsSystemMinimumLayoutMargins
WantsFullScreenLayout
WeakTransitioningDelegate
Zone (Inherited from NSObject)

Methods

Name Description
AccessibilityDecrement() (Inherited from UIResponder)
AccessibilityElementDidBecomeFocused() (Inherited from UIResponder)
AccessibilityElementDidLoseFocus() (Inherited from UIResponder)
AccessibilityElementIsFocused() (Inherited from UIResponder)
AccessibilityIncrement() (Inherited from UIResponder)
AccessibilityPerformEscape() (Inherited from UIResponder)
AccessibilityPerformMagicTap() (Inherited from UIResponder)
AccessibilityScroll(UIAccessibilityScrollDirection) (Inherited from UIResponder)
Add(UIView)

This is an alias for AddSubview(UIView), but uses the Add pattern as it allows C# 3.0 constructs to add subviews after creating the object.

AddChildViewController(UIViewController)
AddKeyCommand(UIKeyCommand)
AddObserver(NSObject, NSString, NSKeyValueObservingOptions, IntPtr) (Inherited from NSObject)
AddObserver(NSObject, String, NSKeyValueObservingOptions, IntPtr) (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)
AlignCenter(NSObject) (Inherited from UIResponder)
AlignJustified(NSObject) (Inherited from UIResponder)
AlignLeft(NSObject) (Inherited from UIResponder)
AlignRight(NSObject) (Inherited from UIResponder)
ApplicationFinishedRestoringState()
AttemptRotationToDeviceOrientation()
AwakeFromNib() (Inherited from NSObject)
BecomeFirstResponder() (Inherited from UIResponder)
BeginAppearanceTransition(Boolean, Boolean)
BeginInvokeOnMainThread(Action) (Inherited from NSObject)
BeginInvokeOnMainThread(Selector, NSObject)

Invokes asynchrously the specified code on the main UI thread.

(Inherited from NSObject)
BeginRequestWithExtensionContext(NSExtensionContext)

Developers can implement this method to prepare their extension for the host application request.

BuildMenu(IUIMenuBuilder) (Inherited from UIResponder)
CanPaste(NSItemProvider[])

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

(Inherited from UIResponder)
CanPerform(Selector, NSObject) (Inherited from UIResponder)
CanPerformUnwind(Selector, UIViewController, NSObject)
CanPerformUnwindDeprecated(Selector, UIViewController, NSObject)
CaptureTextFromCamera(NSObject) (Inherited from UIResponder)
ChildViewControllerForStatusBarHidden()
ChildViewControllerForStatusBarStyle()
ConformsToProtocol(NativeHandle) (Inherited from NSObject)
Copy() (Inherited from NSObject)
Copy(NSObject) (Inherited from UIResponder)
CreateTouchBar() (Inherited from UIResponder)
Cut(NSObject) (Inherited from UIResponder)
DangerousAutorelease()

Calls the 'autorelease' selector on this object.

(Inherited from NSObject)
DangerousRelease()

Calls the 'release' selector on this object.

(Inherited from NSObject)
DangerousRetain()

Calls the 'retain' selector on this object.

(Inherited from NSObject)
DecodeRestorableState(NSCoder)
DecreaseSize(NSObject) (Inherited from UIResponder)
Delete(NSObject) (Inherited from UIResponder)
DidAnimateFirstHalfOfRotation(UIInterfaceOrientation)
DidChange(NSKeyValueChange, NSIndexSet, NSString) (Inherited from NSObject)
DidChange(NSString, NSKeyValueSetMutationKind, NSSet) (Inherited from NSObject)
DidChangeValue(String) (Inherited from NSObject)
DidMoveToParentViewController(UIViewController)
DidReceiveMemoryWarning()
DidRotate(UIInterfaceOrientation)
DidUpdateFocus(UIFocusUpdateContext, UIFocusAnimationCoordinator)

Delegate method called shortly after focus has changed to a new UIView.

DismissModalViewController(Boolean)
DismissMoviePlayerViewController()

Dismisses the MPMoviePlayerViewController.

DismissViewController(Boolean, Action)
DismissViewControllerAsync(Boolean)

Dismisses the presented view controller.

Dispose()

Releases the resources used by the NSObject object.

(Inherited from NSObject)
Dispose(Boolean)
DoesNotRecognizeSelector(Selector) (Inherited from NSObject)
Duplicate(NSObject) (Inherited from UIResponder)
EncodeRestorableState(NSCoder)
EncodeTo(NSCoder)

Encodes the state of the object using the provided encoder.

EndAppearanceTransition()
Equals(NSObject) (Inherited from NSObject)
Equals(Object) (Inherited from NSObject)
Export(NSObject) (Inherited from UIResponder)
Find(NSObject) (Inherited from UIResponder)
FindAndReplace(NSObject) (Inherited from UIResponder)
FindNext(NSObject) (Inherited from UIResponder)
FindPrevious(NSObject) (Inherited from UIResponder)
GetAllowedChildViewControllersForUnwinding(UIStoryboardUnwindSegueSource)
GetChildViewControllerContainingSegueSource(UIStoryboardUnwindSegueSource)
GetChildViewControllerForInterfaceOrientationLock()
GetContentScrollView(NSDirectionalRectEdge)
GetDictionaryOfValuesFromKeys(NSString[]) (Inherited from NSObject)
GetEnumerator()

Returns an enumerator that lists all of the child UIViews

GetHashCode()

Generates a hash code for the current instance.

(Inherited from NSObject)
GetMethodForSelector(Selector) (Inherited from NSObject)
GetNativeHash() (Inherited from NSObject)
GetOverrideTraitCollectionForChildViewController(UIViewController)
GetProvider(UIDeferredMenuElement) (Inherited from UIResponder)
GetSegueForUnwinding(UIViewController, UIViewController, String)
GetSizeForChildContentContainer(IUIContentContainer, CGSize)

Gets the size of the content of the specified child IUIContentContainer by using the size of the parent container.

GetSoundIdentifier(UIFocusUpdateContext)
GetSupportedInterfaceOrientations()
GetTargetForAction(Selector, NSObject) (Inherited from UIResponder)
GetTargetViewControllerForAction(Selector, NSObject)
GetViewControllerForUnwind(Selector, UIViewController, NSObject)
IncreaseSize(NSObject) (Inherited from UIResponder)
Init() (Inherited from NSObject)
InitializeHandle(NativeHandle, String) (Inherited from NSObject)
InitializeHandle(NativeHandle) (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)
LoadView()
LoadViewIfNeeded()
MakeTextWritingDirectionLeftToRight(NSObject) (Inherited from UIResponder)
MakeTextWritingDirectionRightToLeft(NSObject) (Inherited from UIResponder)
MarkDirty()

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

(Inherited from NSObject)
MotionBegan(UIEventSubtype, UIEvent) (Inherited from UIResponder)
MotionCancelled(UIEventSubtype, UIEvent) (Inherited from UIResponder)
MotionEnded(UIEventSubtype, UIEvent) (Inherited from UIResponder)
Move(NSObject) (Inherited from UIResponder)
MutableCopy() (Inherited from NSObject)
NewFromPasteboard(NSObject) (Inherited from UIResponder)
ObserveValue(NSString, NSObject, NSDictionary, IntPtr) (Inherited from NSObject)
Paste(NSItemProvider[])

Performs the paste.

(Inherited from UIResponder)
Paste(NSObject) (Inherited from UIResponder)
PasteAndGo(NSObject) (Inherited from UIResponder)
PasteAndMatchStyle(NSObject) (Inherited from UIResponder)
PasteAndSearch(NSObject) (Inherited from UIResponder)
PerformClose(NSObject) (Inherited from UIResponder)
PerformSegue(String, NSObject)
PerformSelector(Selector, NSObject, Double, NSString[]) (Inherited from NSObject)
PerformSelector(Selector, NSObject, Double) (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)
PreferredContentSizeDidChangeForChildContentContainer(IUIContentContainer)

Notifies this controller that the preferred size for content for a specified child container has changed.

PreferredInterfaceOrientationForPresentation()
PreferredStatusBarStyle()
PrefersInterfaceOrientationLocked()
PrefersStatusBarHidden()
PrepareForInterfaceBuilder() (Inherited from NSObject)
PrepareForSegue(UIStoryboardSegue, NSObject)
PresentModalViewController(UIViewController, Boolean)
PresentMoviePlayerViewController(MPMoviePlayerViewController)

Displays a movie controller using the standard transition.

PresentViewController(UIViewController, Boolean, Action)
PresentViewControllerAsync(UIViewController, Boolean)

Modally presents a view controller.

PressesBegan(NSSet<UIPress>, UIPressesEvent) (Inherited from UIResponder)
PressesCancelled(NSSet<UIPress>, UIPressesEvent) (Inherited from UIResponder)
PressesChanged(NSSet<UIPress>, UIPressesEvent) (Inherited from UIResponder)
PressesEnded(NSSet<UIPress>, UIPressesEvent) (Inherited from UIResponder)
Print(NSObject) (Inherited from UIResponder)
RegisterForPreviewingWithDelegate(IUIViewControllerPreviewingDelegate, UIView)
RegisterForTraitChanges(Action<IUITraitEnvironment,UITraitCollection>, Type[])

Registers a callback handler that will be executed when one of the specified traits changes.

RegisterForTraitChanges(Class[], Action<IUITraitEnvironment,UITraitCollection>)
RegisterForTraitChanges(Class[], NSObject, Selector)
RegisterForTraitChanges(Class[], Selector)
RegisterForTraitChanges(IUITraitDefinition[], Action<IUITraitEnvironment,UITraitCollection>)
RegisterForTraitChanges(IUITraitDefinition[], NSObject, Selector)
RegisterForTraitChanges(IUITraitDefinition[], Selector)
RegisterForTraitChanges(Type[], Action<IUITraitEnvironment,UITraitCollection>)

Registers a callback handler that will be executed when one of the specified traits changes.

RegisterForTraitChanges(Type[], NSObject, Selector)

Registers a selector that will be called on the specified object when any of the specified traits changes.

RegisterForTraitChanges(Type[], Selector)

Registers a selector that will be called on the current object when any of the specified traits changes.

RegisterForTraitChanges<T>(Action<IUITraitEnvironment,UITraitCollection>)

Registers a callback handler that will be executed when the specified trait changes.

RegisterForTraitChanges<T1,T2,T3,T4>(Action<IUITraitEnvironment,UITraitCollection>)

Registers a callback handler that will be executed when any of the specified traits changes.

RegisterForTraitChanges<T1,T2,T3>(Action<IUITraitEnvironment,UITraitCollection>)

Registers a callback handler that will be executed when any of the specified traits changes.

RegisterForTraitChanges<T1,T2>(Action<IUITraitEnvironment,UITraitCollection>)

Registers a callback handler that will be executed when any of the specified traits changes.

ReloadInputViews() (Inherited from UIResponder)
RemoteControlReceived(UIEvent) (Inherited from UIResponder)
RemoveFromParentViewController()
RemoveKeyCommand(UIKeyCommand)
RemoveObserver(NSObject, NSString, IntPtr) (Inherited from NSObject)
RemoveObserver(NSObject, NSString) (Inherited from NSObject)
RemoveObserver(NSObject, String, IntPtr) (Inherited from NSObject)
RemoveObserver(NSObject, String) (Inherited from NSObject)
Rename(NSObject) (Inherited from UIResponder)
ResignFirstResponder() (Inherited from UIResponder)
RespondsToSelector(Selector) (Inherited from NSObject)
RestoreUserActivityState(NSUserActivity) (Inherited from UIResponder)
Select(NSObject) (Inherited from UIResponder)
SelectAll(NSObject) (Inherited from UIResponder)
SetContentScrollView(UIScrollView, NSDirectionalRectEdge)
SetEditing(Boolean, Boolean)
SetNeedsFocusUpdate()

When this is the active focus environment, requests a focus update, which can potentially change the PreferredFocusedView. (See also UpdateFocusIfNeeded().)

SetNeedsStatusBarAppearanceUpdate()
SetNeedsTouchBarUpdate()
SetNeedsUpdateContentUnavailableConfiguration()
SetNeedsUpdateOfHomeIndicatorAutoHidden()
SetNeedsUpdateOfPrefersInterfaceOrientationLocked()
SetNeedsUpdateOfPrefersPointerLocked()
SetNeedsUpdateOfScreenEdgesDeferringSystemGestures()
SetNeedsUpdateOfSupportedInterfaceOrientations()
SetNeedsUpdateProperties()
SetNeedsUserInterfaceAppearanceUpdate()
SetNilValueForKey(NSString) (Inherited from NSObject)
SetOverrideTraitCollection(UITraitCollection, UIViewController)
SetToolbarItems(UIBarButtonItem[], Boolean)
SetValueForKey(NSObject, NSString) (Inherited from NSObject)
SetValueForKeyPath(NativeHandle, NSString) (Inherited from NSObject)
SetValueForKeyPath(NSObject, NSString) (Inherited from NSObject)
SetValueForUndefinedKey(NSObject, NSString) (Inherited from NSObject)
SetValuesForKeysWithDictionary(NSDictionary) (Inherited from NSObject)
ShouldAutorotate()
ShouldAutorotateToInterfaceOrientation(UIInterfaceOrientation)
ShouldPerformSegue(String, NSObject)
ShouldUpdateFocus(UIFocusUpdateContext)

Called prior to the current object either losing or receiving focus. If either focus environment returns false, the focus update is canceled.

ShowDetailViewController(UIViewController, NSObject)
ShowViewController(UIViewController, NSObject)
ShowWritingTools(NSObject) (Inherited from UIResponder)
SystemLayoutFittingSizeDidChangeForChildContentContainer(IUIContentContainer)

Notifies this container that auto layout resized a specified child container.

ToggleBoldface(NSObject) (Inherited from UIResponder)
ToggleInspector(NSObject) (Inherited from UIResponder)
ToggleItalics(NSObject) (Inherited from UIResponder)
ToggleSidebar(NSObject) (Inherited from UIResponder)
ToggleUnderline(NSObject) (Inherited from UIResponder)
ToString()

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

(Inherited from NSObject)
TouchesBegan(NSSet, UIEvent) (Inherited from UIResponder)
TouchesCancelled(NSSet, UIEvent) (Inherited from UIResponder)
TouchesEnded(NSSet, UIEvent) (Inherited from UIResponder)
TouchesEstimatedPropertiesUpdated(NSSet) (Inherited from UIResponder)
TouchesMoved(NSSet, UIEvent) (Inherited from UIResponder)
TraitCollectionDidChange(UITraitCollection)

The trait collection that describes the environmnent changed.

Transition(UIViewController, UIViewController, Double, UIViewAnimationOptions, Action, UICompletionHandler)
TransitionAsync(UIViewController, UIViewController, Double, UIViewAnimationOptions, Action)

Used for transitioning between two view controller'€™s child view controllers.

UnregisterForPreviewingWithContext(IUIViewControllerPreviewing)
UnregisterForTraitChanges(IUITraitChangeRegistration)
Unwind(UIStoryboardSegue, UIViewController)
UpdateContentUnavailableConfiguration(UIContentUnavailableConfigurationState)
UpdateFocusIfNeeded()

If any focus environment has a pending update, this method forces an immediate focus update. Unlike SetNeedsFocusUpdate(), this method may be called by any IUIFocusEnvironment, whether it currently contains focus or not.

UpdateProperties()
UpdatePropertiesIfNeeded()
UpdateTextAttributes(UITextAttributesConversionHandler) (Inherited from UIResponder)
UpdateTraitsIfNeeded()
UpdateUserActivityState(NSUserActivity) (Inherited from UIResponder)
UpdateViewConstraints()
UseSelectionForFind(NSObject) (Inherited from UIResponder)
ValidateCommand(UICommand) (Inherited from UIResponder)
ValueForKey(NSString) (Inherited from NSObject)
ValueForKeyPath(NSString) (Inherited from NSObject)
ValueForUndefinedKey(NSString) (Inherited from NSObject)
ViewDidAppear(Boolean)
ViewDidDisappear(Boolean)
ViewDidLayoutSubviews()
ViewDidLoad()
ViewDidUnload()
ViewIsAppearing(Boolean)
ViewLayoutMarginsDidChange()
ViewSafeAreaInsetsDidChange()
ViewWillAppear(Boolean)
ViewWillDisappear(Boolean)
ViewWillLayoutSubviews()
ViewWillTransitionToSize(CGSize, IUIViewControllerTransitionCoordinator)
ViewWillUnload()
WillAnimateFirstHalfOfRotation(UIInterfaceOrientation, Double)
WillAnimateRotation(UIInterfaceOrientation, Double)
WillAnimateSecondHalfOfRotation(UIInterfaceOrientation, Double)
WillChange(NSKeyValueChange, NSIndexSet, NSString) (Inherited from NSObject)
WillChange(NSString, NSKeyValueSetMutationKind, NSSet) (Inherited from NSObject)
WillChangeValue(String) (Inherited from NSObject)
WillMoveToParentViewController(UIViewController)
WillRotate(UIInterfaceOrientation, Double)
WillTransitionToTraitCollection(UITraitCollection, IUIViewControllerTransitionCoordinator)

Notifies this that its trait collection will change to traitCollection, as coordinated by coordinator.

Extension Methods

Name Description
BrowserAccessibilityDeleteTextAtCursor(NSObject, IntPtr)
BrowserAccessibilityInsertTextAtCursor(NSObject, String)
GetAccessibilityLineEndPositionFromCurrentSelection(NSObject)
GetAccessibilityLineRangeForPosition(NSObject, IntPtr)
GetAccessibilityLineStartPositionFromCurrentSelection(NSObject)
GetBrowserAccessibilityAttributedValue(NSObject, NSRange)
GetBrowserAccessibilityContainerType(NSObject)
GetBrowserAccessibilityCurrentStatus(NSObject)
GetBrowserAccessibilityHasDomFocus(NSObject)
GetBrowserAccessibilityIsRequired(NSObject)
GetBrowserAccessibilityPressedState(NSObject)
GetBrowserAccessibilityRoleDescription(NSObject)
GetBrowserAccessibilitySelectedTextRange(NSObject)
GetBrowserAccessibilitySortDirection(NSObject)
GetBrowserAccessibilityValue(NSObject, NSRange)
SetBrowserAccessibilityContainerType(NSObject, BEAccessibilityContainerType)
SetBrowserAccessibilityCurrentStatus(NSObject, String)
SetBrowserAccessibilityHasDomFocus(NSObject, Boolean)
SetBrowserAccessibilityIsRequired(NSObject, Boolean)
SetBrowserAccessibilityPressedState(NSObject, BEAccessibilityPressedState)
SetBrowserAccessibilityRoleDescription(NSObject, String)
SetBrowserAccessibilitySelectedTextRange(NSObject, NSRange)
SetBrowserAccessibilitySortDirection(NSObject, String)
ProvideImageData(NSObject, IntPtr, UIntPtr, UIntPtr, UIntPtr, UIntPtr, UIntPtr, NSObject)
ProvideImageToMTLTexture(NSObject, IMTLTexture, IMTLCommandBuffer, UIntPtr, UIntPtr, UIntPtr, UIntPtr, NSObject)
SetSharedObservers(NSObject, NSKeyValueSharedObserversSnapshot)
GetDebugDescription(INSObjectProtocol)
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)
GetPencilKitResponderState(UIResponder)
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.

AccessibilityHitTest(NSObject, CGPoint, UIEvent)
GetAccessibilityNextTextNavigationElement(NSObject)
GetAccessibilityNextTextNavigationElementBlock(NSObject)
GetAccessibilityPreviousTextNavigationElement(NSObject)
GetAccessibilityPreviousTextNavigationElementBlock(NSObject)
SetAccessibilityNextTextNavigationElement(NSObject, NSObject)
SetAccessibilityNextTextNavigationElementBlock(NSObject, AXObjectReturnBlock)
SetAccessibilityPreviousTextNavigationElement(NSObject, NSObject)
SetAccessibilityPreviousTextNavigationElementBlock(NSObject, AXObjectReturnBlock)
GetAccessibilityTextInputResponder(NSObject)
GetAccessibilityTextInputResponderHandler(NSObject)
SetAccessibilityTextInputResponder(NSObject, IUITextInput)
SetAccessibilityTextInputResponderHandler(NSObject, UITextInputReturnHandler)
GetTransitionCoordinator(UIViewController)

The IUIViewControllerTransitionCoordinator coordinating the transition of the specified UIViewController.

GetFocusGroupIdentifier(IUIFocusEnvironment)
GetPreferredFocusedView(IUIFocusEnvironment)

If not null, indicates the child UIView that should receive focus by default.

GetSoundIdentifier(IUIFocusEnvironment, UIFocusUpdateContext)
CanPaste(IUIPasteConfigurationSupporting, NSItemProvider[])

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

Paste(IUIPasteConfigurationSupporting, NSItemProvider[])

Performs the paste.

AlignCenter(IUIResponderStandardEditActions, NSObject)
AlignJustified(IUIResponderStandardEditActions, NSObject)
AlignLeft(IUIResponderStandardEditActions, NSObject)
AlignRight(IUIResponderStandardEditActions, NSObject)
Copy(IUIResponderStandardEditActions, NSObject)
Cut(IUIResponderStandardEditActions, NSObject)
DecreaseSize(IUIResponderStandardEditActions, NSObject)
Delete(IUIResponderStandardEditActions, NSObject)
Duplicate(IUIResponderStandardEditActions, NSObject)
Export(IUIResponderStandardEditActions, NSObject)
Find(IUIResponderStandardEditActions, NSObject)
FindAndReplace(IUIResponderStandardEditActions, NSObject)
FindNext(IUIResponderStandardEditActions, NSObject)
FindPrevious(IUIResponderStandardEditActions, NSObject)
IncreaseSize(IUIResponderStandardEditActions, NSObject)
MakeTextWritingDirectionLeftToRight(IUIResponderStandardEditActions, NSObject)
MakeTextWritingDirectionRightToLeft(IUIResponderStandardEditActions, NSObject)
Move(IUIResponderStandardEditActions, NSObject)
NewFromPasteboard(IUIResponderStandardEditActions, NSObject)
Paste(IUIResponderStandardEditActions, NSObject)
PasteAndGo(IUIResponderStandardEditActions, NSObject)
PasteAndMatchStyle(IUIResponderStandardEditActions, NSObject)
PasteAndSearch(IUIResponderStandardEditActions, NSObject)
PerformClose(IUIResponderStandardEditActions, NSObject)
Print(IUIResponderStandardEditActions, NSObject)
Rename(IUIResponderStandardEditActions, NSObject)
Select(IUIResponderStandardEditActions, NSObject)
SelectAll(IUIResponderStandardEditActions, NSObject)
ShowWritingTools(IUIResponderStandardEditActions, NSObject)
ToggleBoldface(IUIResponderStandardEditActions, NSObject)
ToggleInspector(IUIResponderStandardEditActions, NSObject)
ToggleItalics(IUIResponderStandardEditActions, NSObject)
ToggleSidebar(IUIResponderStandardEditActions, NSObject)
ToggleUnderline(IUIResponderStandardEditActions, NSObject)
UpdateTextAttributes(IUIResponderStandardEditActions, UITextAttributesConversionHandler)
UseSelectionForFind(IUIResponderStandardEditActions, NSObject)
CollapseSecondaryViewController(UIViewController, UIViewController, UISplitViewController)

Collapses the secondary view controller on splitViewController

GetSplitViewController(UIViewController)

Returns te split view controller for the nested view controller.

SeparateSecondaryViewControllerForSplitViewController(UIViewController, UISplitViewController)

Returns the separate secondary view controller for splitViewController.

RegisterForTraitChanges(IUITraitChangeObservable, Class[], NSObject, Selector)
RegisterForTraitChanges(IUITraitChangeObservable, Class[], Selector)
RegisterForTraitChanges(IUITraitChangeObservable, Class[], Action<IUITraitEnvironment,UITraitCollection>)
RegisterForTraitChanges(IUITraitChangeObservable, IUITraitDefinition[], NSObject, Selector)
RegisterForTraitChanges(IUITraitChangeObservable, IUITraitDefinition[], Selector)
RegisterForTraitChanges(IUITraitChangeObservable, IUITraitDefinition[], Action<IUITraitEnvironment,UITraitCollection>)

Applies to