Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPad modal view controller similar to Mail.app?

How can I create a modal window in my iPad app similar to the one shown on Apple's website for composing messages in Mail.app?

Example:

http://dl.getdropbox.com/u/413086/mail_type_20100225.jpg

Thanks!

like image 565
igul222 Avatar asked Mar 20 '10 22:03

igul222


1 Answers

Just use a normal view controller, assign the modalPresentationStyle property, and present it as a modal view controller. Please read the "iPad Programming Guide" / "Views and View Controllers" for detail.

like image 61
kennytm Avatar answered Oct 31 '22 11:10

kennytm