2012-11-08 1 views
0

버튼을 보내려는 취소, 삭제, 임시 보관 메일을 보내려면 isAccessibilityElement을 설정하고 싶지만 해당 버튼에 액세스 할 수 없습니다. 난 이미 시도 :버튼에 액세스하는 방법, MFMailComposeViewController에서 취소

mailComposer.navigationBar.topItem.isAccessibilityElement=YES; 

mailComposer.navigationBar.topItem.rightBarButtonItem.isAccessibilityElement=YES; 

도와주세요!

답변

4

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.* 
+0

또한은 위의 아이폰 OS 6,이 버튼은 뷰 계층의 일부가 아닌; 그것들은 다른 프로세스에 의해 완전히 그려진 원격 UI 요소입니다. –