简体   繁体   中英

Facebook, twitter and mail share without UIActivityViewController on iOS

I want my app users to be able to share stuff on facebook, twitter and mail but I do not want to show the UIActivityViewController.. So I want to have seperate buttons for different share types (fb, twitter, mail) instead of just one share button, and show directly the share dialog. Is there a way of doing this?

Thank you..

yes there are different way to do it.there is build in framework for it...

SLComposeViewController /// for facebook and twitter

and

MFMailComposeViewController /// for Email

check this link here for facebook and twitter

and for sharing with Email check here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM