MFMailComposeViewController: how to get notified when view appears?
        Posted  
        
            by Karsten Silz
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Karsten Silz
        
        
        
        Published on 2010-03-25T14:08:05Z
        Indexed on 
            2010/03/25
            14:43 UTC
        
        
        Read the original article
        Hit count: 708
        
iphone
|iphone-sdk
In my app, users can take a picture with the camera or pick one from the library and email it as an attachment.  I use the MFMailComposeViewController for seamless email.  On my iPhone 3GS, it takes about 5-7 seconds for the email view to appear with the attachment.
Now I want to show a progress indicator view when the user pushes the "Send" button and hide that view when the email view comes up.  The problem is that the MFMailComposeViewController  delegate only calls when the email sending is done.
Can I get notified somehow when the email window appears on the screen?
© Stack Overflow or respective owner