简体   繁体   English

来自 iphone 设备的相册路径

[英]Path of the photo album from iphone device

In my project, i want to do something like this.在我的项目中,我想做这样的事情。 I just want to read the Path of the photo albums from the iPhone device,from where i want to get the photos.我只想从 iPhone 设备中读取相册的路径,从我想要获取照片的位置。 After getting the photos, i want to display the photos as views with swiping methodology, similar in the photo albums but in my project.获取照片后,我想使用滑动方法将照片显示为视图,类似于相册但在我的项目中。

Is there is a way to achieve this?有没有办法做到这一点? Please advice me??请给我建议??

Unfortunately, you can not directly access the photo library from what I am aware of, but you can always use the image picker, which seems to have your required functionality.不幸的是,您无法根据我所知道的直接访问照片库,但您始终可以使用图像选择器,它似乎具有您所需的功能。

https://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIImagePickerController_Class/UIImagePickerController/UIImagePickerController.html%23//apple_ref/doc/uid/TP40007070 https://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIImagePickerController_Class/UIImagePickerController/UIImagePickerController.html%23//apple_ref/doc/uid/TP40007070

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

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