UIActivity is a great way to promote sharing app content, and here’s a library from Wayne Hartman that allows you to easily customize those shared messages for each platform. You can easily create e-mails with attachments and custom message text, and send a different message using the other sharing platforms.
As the readme states:
UIActivity is an awesome API for sharing content with built-in iOS services. It’s really easy to share via email and text message with the built-in activities, but for one really fatal flaw: Apple’s API doesn’t allow for customizing content specific to the built-in activities. Take MFMailComposeViewController: incredibly useful, except that there’s no API for setting the subject and adding attachments. Lame. Another example: The text you put on there for a Tweet might be different from the text you put into a text message. But there’s no API to be able to specify special text for the text message. Lame.
Here’s a couple of snapshots from the included showing the example application in action with a customized mail message:
You can find WHMessageActivities on Github here.
A nice easy way to customize messages shared using UIActivity.
- Library And Examples For Easier iOS UIActivity Provider Creation
- Open Source UIActivity Provider For Adding Events To The iOS Calendar
- Open Source iOS UIActivity Provider For Easily Adding File Sharing With Dropbox
- Advanced Content Sharing With The Kik Messenger API For More iOS App Downloads
- Handy Library Providing Many Different Customizable Sharing Buttons Using Core Graphics
Original article: Open Source iOS Library Allows Easy Customized UIActivity Messages For Each Sharing Platform
©2013 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.







