Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.36 KB

readme.md

File metadata and controls

38 lines (26 loc) · 1.36 KB

Modal Presentation Style Demo

In this demo app, there are three view controllers:

  • Initial View Controller
  • Presenting View Controller
  • Presented View Controller

At app lauch, Presenting View Controller is presented on top of Initial View Controller with a formSheet style. From Presenting View Controller, there are a list of buttons that will open Presented View Controller with different style options. The background of Presented View Controller has a 50% transparency so that we can see through it in some styles.

The best way to understand the difference between them is to run the app in an iPad simulator since some of the styles are identical in iPhone. Below are some examples:

  • Current Context v.s. Over Current Context.

  • Full Screen v.s. Over Full Screen

  • Page Sheet v.s. Pop Over v.s. Form Sheet