UIKit.UIViewController: Property Members

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

See Also: Inherited members from UIKit.UIResponder

Public Properties

AutomaticallyAdjustsScrollViewInsetsbool. Whether the UIViewController should automatically adjust its view insets in response to elements such as the status, navigation, and tab bars.
[read-only]
AutomaticallyForwardAppearanceAndRotationMethodsToChildViewControllersbool. Determines whether the containment events are automatically propagaged to nested view controllers.
[read-only]
BottomLayoutGuideIUILayoutSupport. The lower vertical extent of the onscreen content. Used by Auto Layout constraints. Read-only.
[read-only]
ChildViewControllersUIViewController[]. An array of UIKit.UIViewControllers that are managed by this UIKit.UIViewController.
[read-only]
override
ClassHandleIntPtr. The handle for this class.
ContentSizeForViewInPopoverCoreGraphics.CGSize. Default content size for popovers.
DefinesPresentationContextbool. Specifies whether this UIKit.UIViewController’s UIViewController.View is shown when presenting another UIKit.UIViewController.
[read-only]
DisablesAutomaticKeyboardDismissalbool. If true, input view will remain on-screen even when non-input control is tapped.
EdgesForExtendedLayoutUIRectEdge. Specifies how the UIViewController.ParentViewController should extend the layout of this UIKit.UIViewController.
[read-only]
EditButtonItemUIBarButtonItem. A UIKit.UIBarButtonItem that toggles between statees "Edit" and "Done."
Editingbool. true if the UIKit.UIViewController allows the application user to edit the UIKit.UIView contents.
ExtendedLayoutIncludesOpaqueBarsbool. Whether the extended layout includes opaque bars.
[read-only]
ExtensionContextFoundation.NSExtensionContext. Gets the Foundation.NSExtensionContext for this view controller.
HidesBottomBarWhenPushedbool. Specifies whether the toolbar should be visible when this UIKit.UIViewController is pushed onto a UIKit.UINavigationController.
[read-only]
InterfaceOrientationUIInterfaceOrientation. The current orientation of the interface.
[read-only]
IsBeingDismissedbool. true if the current UIKit.UIViewController is in the process of being dismissed.
[read-only]
IsBeingPresentedbool. true if the current UIKit.UIViewController is in the process of being presented.
[read-only]
IsMovingFromParentViewControllerbool. true if the current UIKit.UIViewController is in the process of being removed from its parent UIKit.UIViewController.
[read-only]
IsMovingToParentViewControllerbool. true if the current UIKit.UIViewController is in the process of being added to a parent UIKit.UIViewController.
[read-only]
IsViewLoadedbool. A bool indicating whether the UIViewController.View is loaded into memory.
ModalInPopoverbool. true if this UIKit.UIViewController should be presented modally by a UIKit.UIPopoverController.
ModalPresentationCapturesStatusBarAppearancebool. Whether the UIViewController, when presented modally but non-fullscreen, takes over control of the status bar.
ModalPresentationStyleUIModalPresentationStyle. The UIKit.UIModalPresentationStyle to be used when presenting UIKit.UIViewControllers.
ModalTransitionStyleUIModalTransitionStyle. The UIKit.UIModalTransitionStyle to be used by UIViewController.PresentViewController.
[read-only]
ModalViewControllerUIViewController. Controller for the active presented view.
[read-only]
NavigationControllerUINavigationController. The nearest ancestor UIKit.UINavigationController
[read-only]
NavigationItemUINavigationItem. A UIKit.UINavigationItem that represents this UIKit.UIViewController in its parent’s UIKit.UINavigationController’s UINavigationController.UINavigationBar.
[read-only]
NibBundleFoundation.NSBundle. The Foundation.NSBundle from which this UIKit.UIViewController was instantiated.
[read-only]
NibNamestring. The name of the nib file from which this UIKit.UIViewController was instantiated, or null.
[read-only]
ParentViewControllerUIViewController. The UIKit.UIViewController that contains this UIKit.UIViewController.
[read-only]
PopoverPresentationControllerUIPopoverPresentationController. Gets the nearest ancestor in the view hierarchy that is a UIKit.UIPopoverPresentationController or null if there is none.
PreferredContentSizeCoreGraphics.CGSize. Gets the preferred size for the content of the container.
[read-only]
PreferredStatusBarUpdateAnimationUIStatusBarAnimation. The preferred animation style for hiding and showing the status bar.
[read-only]
PresentationControllerUIPresentationController. Gets the nearest ancestor in the view hierarchy that is a UIKit.UIPresentationController or null if there is none.
[read-only]
PresentedViewControllerUIViewController. The UIKit.UIViewController that is being presented by this UIKit.UIViewController or one of this’s ancestor UIKit.UIViewControllers.
[read-only]
PresentingViewControllerUIViewController. The UIKit.UIViewController that is presenting this UIKit.UIViewController.
ProvidesPresentationContextTransitionStylebool. true if this UIKit.UIViewController overrides the transition style of the UIKit.UIViewController that it presents.
RestorationClassObjCRuntime.Class. The class responsible for restoring application state.
RestorationIdentifierstring. Specifies the instance of the UIKit.UIViewController for restoration.
[read-only]
RotatingFooterViewUIView. The footer view that needs to be transitioned during an interface rotation
[read-only]
RotatingHeaderViewUIView. The header view that needs to be transitioned during an interface rotation.
[read-only]
SearchDisplayControllerUISearchDisplayController. The UIKit.UISearchDisplayController, if any, associated with this UIKit.UIViewController.
[read-only]
ShouldAutomaticallyForwardAppearanceMethodsbool. Whether appearance methods should be forwarded to child UIKit.UIViewControllers.
[read-only]
ShouldAutomaticallyForwardRotationMethodsbool. Whether rotation methods should be forwarded to child UIKit.UIViewControllers.
[read-only]
static
ShowDetailTargetDidChangeNotificationFoundation.NSString. Notification constant for ShowDetailTargetDidChange
[read-only]
SplitViewControllerUISplitViewController. The nearest ancestor UIKit.UISplitViewController or null.
[read-only]
StoryboardUIStoryboard. The UIKit.UIStoryboard from which this UIKit.UIViewController was created, or null.
[read-only]
TabBarControllerUITabBarController. The nearest ancestore UIKit.UITabBarController or null.
TabBarItemUITabBarItem. A UIKit.UITabBarItem that represents this UIKit.UIViewController in its parent’s UIKit.UITabBarController’s UITabBarController.UITabBar.
Titlestring. A human-meaningful identifier of this UIKit.UIViewController.
ToolbarItemsUIBarButtonItem[]. The array of UIKit.UIBarButtonItems on a UIKit.UINavigationController’s UINavigationController.Toolbar
[read-only]
TopLayoutGuideIUILayoutSupport. The highest vertical extent of onscreen content. Used by Auto Layout constraints. Read-only.
[read-only]
TraitCollectionUITraitCollection. Characteristics of the display, such as it's idiom, scale, and size class.
TransitioningDelegateIUIViewControllerTransitioningDelegate. A delegate object that is responsible for producing UIKit.IUIViewControllerAnimatedTransitionings for custom presentation.
ViewUIView. The view managed by this view controller.
WantsFullScreenLayoutbool. true if the view should overlap the status bar.
WeakTransitioningDelegateFoundation.NSObject. The delegate object used to provide controllers for transition animations and interactions.