类似于 Mail.app 的 iPad 模态视图控制器? [英] iPad modal view controller similar to Mail.app?
本文介绍了类似于 Mail.app 的 iPad 模态视图控制器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在我的 iPad 应用程序中创建一个模式窗口,类似于 Apple 网站上显示的用于在 Mail.app 中编写消息的模式窗口?
例子:
http://dl.getdropbox.com/u/413086/mail_type_20100225.jpgp>
谢谢!
解决方案
只需使用普通视图控制器,分配 modalPresentationStyle
属性,并将其呈现为模态视图控制器.详细请阅读《iPad 编程指南》/《Views and View Controllers》.
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!
解决方案
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.
这篇关于类似于 Mail.app 的 iPad 模态视图控制器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文