How to disable/enable the send button in mailComposeController. I want disable/enable the send button by using through programmatically.Is it passable?
Can any one help me.
Thank you...
How to disable/enable the send button in mailComposeController. I want disable/enable the send button by using through programmatically.Is it passable?
Can any one help me.
Thank you...
You don't have access to Send and Cancel button of MFMailComposeViewController. These buttons and their action are pre-defined and are not meant to be changed.
From 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.
Not sure if it is even possible or not but you can customize navigation bar in case you want to toggle Send
mail button. Following article can be useful.
One way is that you prevent the user to insert text in To: field but it wouldn't be the proper solution
It's default functionality that if the To
address field is blank then send button is DISABLE..