简体   繁体   中英

Access all photos of device in my iOS App

I want to take all photos and videos from device Photos app and show it in my app. First of all is Apple allowing for the same or not? If yes how i can i do that, is Photoframework useful for that?

The fastest to implement and easiest way to use if you just want to pick some photos from the user's phone is the UIImagePickerController .

However, if you really want to show the assets or the photos of a device into your app and not just to pick some assets, you will need to learn and use the Photos Framework . You'll know how to fetch PHAssets from the device and use them into your app.

There are lots of tutorials around the web, like so: http://nshipster.com/phimagemanager/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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