Tuesday, March 1, 2011

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:

Thanks!

From stackoverflow
  • 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.

    norskben : http://developer.apple.com/iphone/library/documentation/General/Conceptual/iPadProgrammingGuide/UserInterface/UserInterface.html
    Dimitris : The `modalPresentationStyle` you are looking for by the way igul222, is `UIModalPresentationFormSheet`.

0 comments:

Post a Comment