我想将isAccessibilityElement
设置为按钮发送,取消,删除草稿,保存草稿但我无法访问这些按钮。
我已经尝试过了:
mailComposer.navigationBar.topItem.isAccessibilityElement=YES;
和
mailComposer.navigationBar.topItem.rightBarButtonItem.isAccessibilityElement=YES;
请帮忙!
答案 0 :(得分:4)
您无权访问MFMailComposeViewController的“发送和取消”按钮。这些按钮及其动作是预先定义的,无意更改。
来自Apple Docs:
*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.*