ios - Changing color of text on send button in disabled state on MFMailComposeViewController -


i want change send button text color when in disabled state.

enter image description here

here code -

if mfmailcomposeviewcontroller.cansendmail() {     let mail = mfmailcomposeviewcontroller()     mail.navigationbar.tintcolor = uicolor.red     mail.mailcomposedelegate = self     present(mail, animated: true) } else {     // show failure alert } 


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -