Open Source iOS Library Allows Easy Customized UIActivity Messages For Each Sharing Platform

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:

WHMessageActivities-1WHMessageActivities-2

You can find WHMessageActivities on Github here.

A nice easy way to customize messages shared using UIActivity.

DeliciousTwitterFacebookRedditLinkedInEmail

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.

Leave a Reply

Your email address will not be published. Required fields are marked *