iOS Post to Twitter/Facebook/Mail
White Dev
$15.00
Date |
Price |
---|---|
Date |
Price($) |
06/04(2018) |
15.0 |
11/21(2024) |
15.0 |
Jump AssetStore
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] { "to@mail.com" };
mailInfo.ccList = null;
mailInfo.bccList = null;
iOS_Post.SendMail (ref mailInfo, text, url, image);
Support: whitedev.support@gmail.com