- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
如何禁用/启用 mailComposeController 中的发送按钮。我想通过编程方式禁用/启用发送按钮。可以吗?
谁能帮帮我。
谢谢...
最佳答案
您无权访问 MFMailComposeViewController 的“发送”和“取消”按钮。这些按钮及其操作是预定义的,不能更改。
来自 Apple 文档:
Important: The mail composition interface itself is not customizable and must not be modified by your application. In addition, after presenting the interface, your application is not allowed to make further changes to the email content.
关于ios - 禁用/启用 mailComposeController 中的“发送”按钮,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16518780/
如果用户发送或取消,我试图在完成后从我的应用程序中关闭邮件。但出于某种原因,这永远不会被驳回。我几乎尝试了一切。我也记录了这个,所以我会看看它是否进入了 dissmiss 方法。问题就在那里,因为它从
我已经在 TableView 中创建了设置页面。当我点击第 0 行时,调用 UIActivityViewController。当我点击第 2 行时,将调用 MailComposeController。
如何禁用/启用 mailComposeController 中的发送按钮。我想通过编程方式禁用/启用发送按钮。可以吗? 谁能帮帮我。 谢谢... 最佳答案 您无权访问 MFMailComposeVie
我是一名优秀的程序员,十分优秀!