View on Asset Store (opens in new tab)
Package details
- Latest version
- 2.0.0
- Last updated
- First released
- Unity version
- 5.5.4 or later
- Package size
- 60 KB
- Files
- 17
- Favorites
- 91
- Views in the past week
- 8
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- Free on
iOS Post to Twitter/Facebook/Mail
Price $15.00
Buy on Asset Store (opens in new tab)
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 8
iOS Post to Twitter/Facebook/Mail screenshot 1
About this asset
This plugin is run on iOS native code. You can post text and image to Twitter, Facebook or Mail.
Note:
Must add a key to Info.plist to "Save Image" from Activity in iOS 10.
- NSPhotoLibraryUsageDescription
Features:
- Post text and image to any services.
- Post to Twitter
- Post to Facebook
- Send Mail
- Post to Weibo (China Only)
- Support for add an URL to message
Must Link Frameworks in Xcode:
- Social.framework
- MessageUI.framework
Demo Video
How to use (C# Script):
Twitter:
iOS_Post.IsAvailable(iOS_Post.ToTweet);
iOS_Post.Post(iOS_Post.ToTweet, text, url, image);
Facebook:
iOS_Post.IsAvailable(iOS_Post.ToFacebook);
iOS_Post.Post(iOS_Post.ToFacebook, text, url, image);
Activity:
iOS_Post.IsAvailable(iOS_Post.ToActivity);
iOS_Post.Post(iOS_Post.ToActivity, text, url, image);
Mail:
iOS_Post.MailInfo mailInfo;
mailInfo.subject = "Subject";
mailInfo.toList = new string[1] { "[email protected]" };
mailInfo.ccList = null;
mailInfo.bccList = null;
iOS_Post.SendMail (ref mailInfo, text, url, image);
Support: [email protected]
Note:
Must add a key to Info.plist to "Save Image" from Activity in iOS 10.
- NSPhotoLibraryUsageDescription
Features:
- Post text and image to any services.
- Post to Twitter
- Post to Facebook
- Send Mail
- Post to Weibo (China Only)
- Support for add an URL to message
Must Link Frameworks in Xcode:
- Social.framework
- MessageUI.framework
Demo Video
How to use (C# Script):
Twitter:
iOS_Post.IsAvailable(iOS_Post.ToTweet);
iOS_Post.Post(iOS_Post.ToTweet, text, url, image);
Facebook:
iOS_Post.IsAvailable(iOS_Post.ToFacebook);
iOS_Post.Post(iOS_Post.ToFacebook, text, url, image);
Activity:
iOS_Post.IsAvailable(iOS_Post.ToActivity);
iOS_Post.Post(iOS_Post.ToActivity, text, url, image);
Mail:
iOS_Post.MailInfo mailInfo;
mailInfo.subject = "Subject";
mailInfo.toList = new string[1] { "[email protected]" };
mailInfo.ccList = null;
mailInfo.bccList = null;
iOS_Post.SendMail (ref mailInfo, text, url, image);
Support: [email protected]
From the publisher's Asset Store listing.