如何将邮件编辑器视图置于 iPhone 中的视图和工具栏之间?
我是 iPhone 开发新手。我想要一个工具栏和其中的一个按钮。单击按钮时,应该打开一个邮件撰写视图。我希望工具栏在邮件编辑器视图中可见。邮件编辑器应该从后面开始动画工具栏的。我怎样才能实现这一点。
最近我看到一个应用程序,它实现了这一点。邮件从工具栏的后面出现。
一般来说,对于创建像 m need.Tabar 或工具栏这样的应用程序,哪一个更可取?我还应该遵循其他方法吗?
谢谢。
I am new to iphone development.I want a toolbar and a button in it.On clicking the button ,a mail compose view should open.I want the tool bar to be visible in the mail composer view.The mail composer should animate from back of the toolbar.How can i achieve that.
Recently i saw a application,which implemented this.The mail emerges from back of the tool bar.
In general which is more preferable for creating application like m need.Tabar or tool bar? any other method should i follow?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我认为 MailComposer 视图始终是模型视图,因此您无法使工具栏可见。邮件编辑器视图也有自己的工具栏。
请在此处查看更多信息:
http://developer.apple.com/ iphone/library/documentation/MessageUI/Reference/MFMailComposeViewController_class/Reference/Reference.html
I think, that the MailComposer view is always a model view and therefore you can't make your toolbar visible. Also the mailcomposer view has got it's own toolbar.
Look here for further information:
http://developer.apple.com/iphone/library/documentation/MessageUI/Reference/MFMailComposeViewController_class/Reference/Reference.html
终于解决了。
通过将按钮设置到窗口,我可以在邮件编辑器视图上方获得一个按钮。因此该按钮显示在邮件编辑器视图上方。
Finally Solved it.
I am able to get a button above the mail composer view by setting the button to the window. So that button is display above the mail composer view.