Presents a modal view managed by the given view controller to the user.
- iOS 2.0–6.0Deprecated
- Mac Catalyst 13.0–13.0Deprecated
The view controller that manages the modal view.
YES, animates the view as it's presented; otherwise, does not.
On iPhone and iPod touch devices, the view of
modal is always presented full screen. On iPad, the presentation depends on the value in the
modal property to the specified view controller. Resizes its view and attaches it to the view hierarchy. The view is animated according to the transition style specified in the
modal property of the controller in the