我想设置isAccessibilityElement
按钮发送、取消、删除草稿、保存草稿,但我无法访问这些按钮。我已经尝试过:
mailComposer.navigationBar.topItem.isAccessibilityElement=YES;
和
mailComposer.navigationBar.topItem.rightBarButtonItem.isAccessibilityElement=YES;
请帮忙!
我想设置isAccessibilityElement
按钮发送、取消、删除草稿、保存草稿,但我无法访问这些按钮。我已经尝试过:
mailComposer.navigationBar.topItem.isAccessibilityElement=YES;
和
mailComposer.navigationBar.topItem.rightBarButtonItem.isAccessibilityElement=YES;
请帮忙!
您无权访问 MFMailComposeViewController 的发送和取消按钮。这些按钮及其操作是预定义的,不能更改。
来自苹果文档:
*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.*