Alert views allow you to make modal alert, confirmation and prompt dialogs. You can learn more about alert views here.
The title, if present, adds 21pt.
The message, if present, adds 21pt.
A single text or password field is 30pt tall with 3pt margin above and 15pt margin below.
Each additional line adds 19pt to the message height.
Text and password fields together are 59pt tall and have placeholder text "Login" and "Password".
Two buttons are placed side-by-side. The primary button is on the right.
The cancel button, if present, is always on the left.
Three or more buttons are stacked vertically. The primary button is on the bottom.
The cancel button, if present, is always on the bottom.
Buttons are 44pt tall with 15pt horizontal padding.
Alert views are displayed above a 40% opaque mask. A mask is included with each alert view on this page, but if you need another, here it is.