如何在Facebook和Twitter等照片共享选项中显示我的iOS应用程序?

问题描述:

我有一个图片分享应用程序,在您的应用程序朋友之间分享图片。
我的要求是当iOS用户从照片库中选择任何照片时,通过弹出窗口显示我的应用程序。

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 gallery.

我找到了共享PDF文件的解决方案通过自定义应用程序,但没有运气的iOS照片。

I found solutions for sharing PDF files via custom app, but no luck for iOS "photos".

我也通过此链接
https://stackoverflow.com/questions/9266079/why-is -my-iOS-app-not-up-in-other-apps-open-in-dialog
并在我的应用程序中进行了更改,但似乎无法正常工作。

I have also go through this link https://stackoverflow.com/questions/9266079/why-is-my-iOS-app-not-showing-up-in-other-apps-open-in-dialog and did changes in my app, but it seems not to be working.

遗憾的是,这是无法做到的。您共享的屏幕截图显示了Photos应用程序提供的UIActivityViewController,目前无法将您的应用程序放入其中。希望这是未来iOS版本中允许的内容。

This can't be done, unfortunately. The screenshot you've shared is showing a UIActivityViewController presented by the Photos app, and there is currently no way to get your app into it. Hopefully that's something that will be allowed in a future iOS release.