iOS 8 - How to register an app to be included in the system share menu?

烈酒焚心 提交于 2019-12-24 02:43:44

问题


The dialog below comes up if you share an image from the Photos app on iOS 8 devices. How to get an app into the red circled share menu? (I would like to register an iOS 8 iPhone app for the extensions .png, .jpg and .gif)


回答1:


You'll need to create an app extension.

According to Apple:

To add a new target to your Xcode app project, choose File > New > Target. In the sidebar on the left side of the new target dialog, choose Application Extension for iOS or OS X. In the pane on the right side of the dialog, Xcode displays the templates you can choose.

You'll want to choose an Action extension



来源:https://stackoverflow.com/questions/27388753/ios-8-how-to-register-an-app-to-be-included-in-the-system-share-menu

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!