3

I think I can use the completion handler of the UIActivityViewController (haven't tested yet), but that would only give me a BOOL for whether the activity completed or not. I want to be able to handle the error if there is one, as I would in -[MFMailComposeViewControllerDelegate mailComposeController:didFinishWithResult:error:]. Is there a way to be notified, without having to mess with private APIs? Looks like UIMailActivity is the delegate for the mail composer that gets presented. Any official way to do this?

Marty
  • 5,926
  • 9
  • 53
  • 91

0 Answers0