是否可以从我的应用程序启动(重定向用户)iphone的本机照片库应用程序, [英] Is it possible to launch (redirect the user to) the native photo gallery application of iphone from my app,

查看:77
本文介绍了是否可以从我的应用程序启动(重定向用户)iphone的本机照片库应用程序,的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以从我的应用程序启动(重定向用户)本机照片库应用程序而不是短信或iPhone手机,

Is it possible to launch (redirect the user to) the native photo gallery application not sms or phone of iphone from my app,

推荐答案

最好的方法是自定义URL方案,但AFAIK没有照片应用程序的方案。
请参阅本机iOS应用的现有自定义网址方案。

The best way to do that would have been a custom URL scheme but AFAIK there is no schemes for the photo app. See here the existing custom URL schemes for native iOS apps.

如果要显示用户的照片,可以使用要么:

-the UIImagePickerController(你会在网上找到教程)或者是
-用于访问照片和视频的ALAssetsLibrary(这将是你需要做的更多工作)创建GUI以自己显示照片)。 请参阅此处

If you want to display the user's photos, you can use either:
-the UIImagePickerController (you'll find tutorials on the web) or
-the ALAssetsLibrary to access the photos and videos (that's a lot more work as you will have to create the GUI to display the photos yourself). See here.

这篇关于是否可以从我的应用程序启动(重定向用户)iphone的本机照片库应用程序,的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆