ModalPresentationStyles
suggest changeIntroduction
Modal presentation styles are used when you are transitioning from one view controller to another. There are 2 ways of achieving this customization. One is through code and another through Interface Builder (using segues). Set the modalPresentationStyle property to a UIModalPresentationStyle value. It is an instance property of UIViewController, and it specifies how a view controller is presented on screen.
Remarks
Appleās documentation says:
In a horizontally compact environment, modal view controllers are always presented full-screen. In a horizontally regular environment, there are several different presentation options.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents