简体   繁体   中英

Social sharing on iOS

I am working on a app that capable of share images through Facebook, Twitter, Instagram. I have integrated Facebook login for the app by using Facebook ios SDK. What is the best approach to enable social sharing,

  1. Use three SDKs for ios, or
  2. Use apple social media framework integration

您还可以尝试使用ShareKit (链接到GitHub) ,该工具允许与许多服务一起使用以共享内容。

For sharing images on your facebook wall you can use apple social media framework ie SLComposeViewController class

While sharing on your friend's wall use SDK provided by Facebook developers

Hope it helps you.

For facebook and twitter sharing you can use Social framework.But for the instagram sharing you have to use UIActivityViewController .

Follow the link for facebook and twitter sharing:

how to share content on facebook, twitter and instagram using SLComposeViewController swift

100% working and easy steps

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