A Boolean value indicating whether the view controller enforces a modal behavior.
SDKs
- iOS 13.0+
- Mac Catalyst 13.0+
- tvOS 13.0+
Framework
- UIKit
Declaration
@property(nonatomic, getter=isModalInPresentation) BOOL modalInPresentation;
A Boolean value indicating whether the view controller enforces a modal behavior.
SDKs
Framework
@property(nonatomic, getter=isModalInPresentation) BOOL modalInPresentation;
- show View Controller: sender:
Presents a view controller in a primary context.
- show Detail View Controller: sender:
Presents a view controller in a secondary (or detail) context.
- present View Controller: animated: completion:
Presents a view controller modally.
- dismiss View Controller Animated: completion:
Dismisses the view controller that was presented modally by the view controller.
modal Presentation Style
The presentation style for modally presented view controllers.
UIModal Presentation Style
Modal presentation styles available when presenting view controllers.
modal Transition Style
The transition style to use when presenting the view controller.
UIModal Transition Style
Transition styles available when presenting view controllers.
defines Presentation Context
A Boolean value that indicates whether this view controller's view is covered when the view controller or one of its descendants presents a view controller.
provides Presentation Context Transition Style
A Boolean value that indicates whether the view controller specifies the transition style for view controllers it presents.
disables Automatic Keyboard Dismissal
Returns a Boolean indicating whether the current input view is dismissed automatically when changing controls.
UIView Controller Show Detail Target Did Change Notification
Posted when a split view controller is expanded or collapsed.