Question

I'm guessing the App sandbox is the critical issue here.

UIImagePickerController will let users pick a single photo from camera roll, same with the Steroids/PhoneGap Camera API.

ELCImagePickerController supports multiple selection in a native App.

ALAssetsLibrary seems to be promising, but the PhotosByLocation sample project says, "Assets need to be synced to the device from iTunes to show up in the picker" which makes me think it doesn't give full access to the camera roll.

Is there an easy to get user permission to scan all the photos in the camera roll to extract and chart the photo timestamps? An html5 framerwork solution is perferred...

Was it helpful?

Solution

I read the API docs again for ALAssetsLibrary, and discovered the following:

ALAssetsGroupSavedPhotos - All the photos in the Camera Roll.

ALAssetsGroupAlbum - All the albums created on the device or synced from iTunes, 
   not including Photo Stream or Shared Streams

So I'm guessing that ALAssetsLibrary is indeed the Class I use to iterate through all photos in the Camera Roll. Can someone pls confirm that this is all I need to get access?

[ALAssetsLibrary authorizationStatus] == ALAuthorizationStatusAuthorized;
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top