How to make my iOS app visible in photo sharing options like Facebook and Twitter?

前端 未结 4 1494
-上瘾入骨i
-上瘾入骨i 2020-12-23 21:26

I have a picture sharing app which shares pictures among your app friends. My requirement is to show my app in sharing via pop-up, when iOS user choose any photo from photo

4条回答
  •  一向
    一向 (楼主)
    2020-12-23 21:43

    I use "Share Extension" to add my own app in the share list. You have to create a new target of your app

    Be careful!! The Deployment Target version of this target should under the version of your testing device to make sure the icon shows in the list.

    Other activities should be defined in the ShareViewController.m created automatically.

    Hope my answer can help you :)

提交回复
热议问题