iOS - 在我的应用中从相册中打开照片 [英] iOS - open photo from photo album in my app
本文介绍了iOS - 在我的应用中从相册中打开照片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想让用户浏览相册中的照片,点按操作按钮,然后在我的应用中分享/打开所选照片。一些应用程序(如Viber和WeChat)提供了一个自定义视图来处理这个问题。这是微信屏幕:
I would like to let users browse photos in their photo albums, tap the action button, and share/open selected photos in my app. Some apps (like Viber and WeChat) provide a custom view to handle this. This is the WeChat screen:
此功能的名称是什么?我必须使用哪个类来实现此行为?
What is the name of this feature and which class do I have to use to achieve this behavior?
推荐答案
您需要检查ioS扩展中的共享选项
You need to do check for share option in the ioS extensions
- app extensions
- extension programming guide
- Share extension
- Example from Tumbler developer team
这篇关于iOS - 在我的应用中从相册中打开照片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文