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?
Edit: I just thought about it… Can’t you just add the progress indicator in your view and the composer view will just get on top of it? This way you could easily remove the indicator when the
MFMailComposerViewControllerdelegate calls its methods.I don’t see any simple way to get notified. What about writing a category for this?