23 July 2009 by Published in: Code, iphone 1 comment

If you’re trying to talk to an MFMailComposeViewController and are setting the delegate property (you know, like every other class in the iPhone SDK), you’re doing it wrong. You need to set mailComposeDelegate.

Oh, and just to confuse you, delegate is left in, so as not to cause any warnings or compile errors. It just silently fails.

Want me to build your app / consult for your company / speak at your event? Good news! I'm an iOS developer for hire.

Like this post? Contribute to the coffee fund so I can write more like it.


  1. Mon 07th Sep 2009 at 9:41 am

    Hi, Drew,

    Have you noticed, running Activity Monitor, that the memory used by MFMailComposeViewController is not released? Might you know how to get it released?

    Thanks for any insight.

Comments are closed.

Powered by WordPress