简体   繁体   English

如何在iOS中访问照片库?

[英]How can I access the photo library in iOS?

Is there any way to jump into photo library ? 有没有办法跳进照片库? I'm not asking about UIImagePicker . 我不是在询问UIImagePicker In original camera app of iPhone, when I touch a thumbnail of one of the last photos (at the bottom left corner), it goes into photo library (actually, camera roll). 在iPhone的原始相机应用程序中,当我触摸最后一张照片的缩略图(位于左下角)时,它会进入照片库(实际上是相机胶卷)。 Is that private API or can i use it somehow? 是私有API还是我可以以某种方式使用它? Well, I think I can implement that using ALAsset but I'm just wondering if there is any API 好吧,我想我可以使用ALAsset实现它,但我只是想知道是否有任何API

I believe you can launch the photo app, in order to view it as you would normally. 我相信你可以启动照片应用程序,以便像平常一样查看它。 However you cannot return to your app after launching the photo library. 但是,启动照片库后无法返回应用程序。

You'll need to launch com.apple.camera 你需要启动com.apple.camera

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM