Enumeration: UIModalPresentationStyle
Overview
Presentation styles available when presenting view controllers.
Constant Summary
- UIModalPresentationFullScreen
The presented view covers the screen, taking into account the value of the wantsfullscreenlayout property.available in ios 3.2 and later.declared in uiviewcontroller.h.
- UIModalPresentationPageSheet
The height of the presented view is set to the height of the screen and the view’s width is set to the width of the screen in a portrait orientation. any uncovered areas are dimmed to prevent the user from interacting with them. (in portrait orientations, this option is essentially the same as uimodalpresentationfullscreen.)available in ios 3.2 and later.declared in uiviewcontroller.h.
- UIModalPresentationFormSheet
The width and height of the presented view are smaller than those of the screen and the view is centered onscreen. if the device is in a landscape orientation and the keyboard is visible, the position of the view is adjusted upward so the view remains visible. all uncovered areas are dimmed to prevent the user from interacting with them. available in ios 3.2 and later.declared in uiviewcontroller.h.
- UIModalPresentationCurrentContext
The view is presented using the same style as its parent view controller. when presenting a view controller in a popover, this presentation style is supported only if the transition style is uimodaltransitionstylecoververtical. attempting to use a different transition style triggers an exception. however, you may use other transition styles (except the partial curl transition) if the parent view controller is not in a popover. available in ios 3.2 and later.declared in uiviewcontroller.h.