In the Photos app on the iPhone, when you select the Mail sharing option, the photo animates into the modal view controller that slides up. How is it possible to modify the behaviour of the built-in UIActivities? For example, I’d like to be able to set the subject field of the mail composer.
Share
Unfortunately, customizing the subject field of the
UIActivityViewControllermail composer is not working yet.There is a documented and reported bug regarding trying to customize this discussed here:
iphone – How do I set recipients for UIActivityViewController in iOS 6?
If this were working, according to the documentation, you would be able to customize these mail composer fields:
So using the mailto scheme, when it is working, you should be able to customize those fields like this:
If your looking for other ways to customize the
UIActivityViewControllerthere is an excellent example project here:https://github.com/russj/ios6ShareDemo