如何在图像的共享应用列表中添加我的应用?

时间:2022-04-23 06:06:19

I want to show my app when user try to share Image from Photo gallery. How can i show my app in that list?

我想在用户尝试从照片库共享图片时显示我的应用。如何在该列表中显示我的应用程序?

I tried with public.image as content type but not working for me.

我尝试使用public.image作为内容类型但不适合我。

Thanks,

谢谢,

2 个解决方案

#1


0  

You have to create a share extension for your application. For detailed info you can check the official apple documentation for extensions https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/index.html

您必须为您的应用程序创建共享扩展。有关详细信息,您可以查看官方苹果文档的扩展程序https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/index.html

#2


0  

You can use UIActivity​View​Controller to share the images and data. If you want to see tutorial please refer following link. UIActivity​View​Controller

您可以使用UIActivity View Controller来共享图像和数据。如果您想查看教程,请参阅以下链接。 UIActivity视图控制器

#1


0  

You have to create a share extension for your application. For detailed info you can check the official apple documentation for extensions https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/index.html

您必须为您的应用程序创建共享扩展。有关详细信息,您可以查看官方苹果文档的扩展程序https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/index.html

#2


0  

You can use UIActivity​View​Controller to share the images and data. If you want to see tutorial please refer following link. UIActivity​View​Controller

您可以使用UIActivity View Controller来共享图像和数据。如果您想查看教程,请参阅以下链接。 UIActivity视图控制器