Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想让用户浏览他们相册中的照片,点击操作按钮,并在我的应用程序中分享/打开选定的照片。一些应用程序(如 Viber 和微信)提供了一个自定义视图来处理这个问题。这是微信画面:
此功能的名称是什么,我必须使用哪个类来实现此行为?
您需要检查 ios 扩展中的共享选项
您可以为此目的使用 UIImagePickerController 。在此处查找类参考这是一个示例代码