Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the difference between Camera Roll and Photo Library?

UIImagePickerController has these source type constants:

UIImagePickerControllerSourceTypePhotoLibrary  UIImagePickerControllerSourceTypeSavedPhotosAlbum 

The documentation says one is for the photo library while the other is for the camera roll.

What's the exact difference between these two? Doesn't "Photo Library" contain pictures taken with the camera as well?

like image 486
openfrog Avatar asked Nov 22 '11 20:11

openfrog


People also ask

Should I delete photos from camera roll or my photo Stream?

If you haven't enabled Photo Stream syncing on your Mac/PC, you should keep the copy that is in your camera roll until you've copied it to your PC. That is the original copy, and it won't be deleted until you do it yourself.

What does photo library mean?

A digital image library is a cloud-based application that provides a secure, centralized location for storing, organizing, managing, and distributing images.

How do I move photos from my photo library to my camera roll?

Copy photos from Photo Library to Camera RollOn your iPhone, go to Photos -> Albums -> From My Mac, then select the album with the photos you need to copy to Camera Roll. In the upper-right corner, press “Select” and choose the photos you need. There is also the option Select All.

What is the difference between photos and camera roll?

The simplest way to explain the difference between your Camera Roll and Photo Stream is that your Camera Roll is where all the pictures you've taken with your iPhone are, whereas My Photo Stream syncs only the most recent ones, so you can access them on other devices.


2 Answers

From When should I use UIImagePickerControllerSourceTypePhotoLibrary instead of UIImagePickerControllerSourceTypeSavedPhotosAlbum?:

UIImagePickerControllerSourceTypePhotoLibrary references the entire photo library, letting the user choose which album. UIImagePickerControllerSourceTypeSavedPhotosAlbum goes straight to the camera roll album without giving the user a choice as to which album to choose from. They're similar, but different. You can get to the camera roll from PhotoLibrary, but you can only access the camera roll from UIImagePickerControllerSourceTypeSavedPhotosAlbum.

Reference.

like image 94
chown Avatar answered Sep 30 '22 04:09

chown


  • UIImagePickerControllerSourceTypePhotoLibrary - you can choose album for your photo library (yes, you can have more than 1 album).
  • UIImagePickerControllerSourceTypeSavedPhotosAlbum - you can choose photos only in Camera Roll album.

Good luck!

like image 30
Roberson Balbino Avatar answered Sep 30 '22 06:09

Roberson Balbino