如何将邮件编辑器视图置于 iPhone 中的视图和工具栏之间?

发布于 2024-08-27 16:12:49 字数 225 浏览 1 评论 0原文

我是 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

对岸观火 2024-09-03 16:12:49

我认为 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

养猫人 2024-09-03 16:12:49

终于解决了。

通过将按钮设置到窗口,我可以在邮件编辑器视图上方获得一个按钮。因此该按钮显示在邮件编辑器视图上方。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文