如何在我的ios应用程序中从另一个应用程序打开图像?

如何在我的ios应用程序中从另一个应用程序打开图像?

问题描述:

Instagram和其他一些应用程序可以选择在任何其他应用程序的应用程序中打开图像。我也想为我的iOS图像处理应用做类似的事情。因此,用户可以在我的iPhone / iPad应用程序中的任何应用程序中打开图像。但我不知道它是如何可能的。

As Instagram and some another apps have option to open image in there app from any other app. I also want to do similar kind of thing for my iOS image processing app. So user can open there image from any app in my iPhone/iPad app. But I don't know how it is possible.

是的,您可以在iOS中的其他受支持的应用程序中打开任何文件类型打开选项的设备。

Yes you can open any file type in other supported application in your iOS device with "Open In" option.

请按照此苹果文档中的 iOS的文档交互编程主题 将是对你有帮助。

Please follow this apple document for Document Interaction Programming Topics for iOS will be helpful to you.

1)你也可以参考 教程 其中以pdf文件为例进行说明。

1) You can also refer this tutorial In which explain with example of pdf file.

2)对于自定义检查 以及其他可能的类型 here。
你可以通过添加UTI来管理不同类型的文档。

2) For customisation check this and other possible types found here. you can manage different types of document by adding UTI.