Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UIImagepickercontroller: is it possible to change the sort order of the images in camera roll?

Basically the app im working on would be a lot less of a pain if users didn't have to scroll to the very bottom of their camera roll to get their most recent photos, I want the most recent at the top, wouldn't this make sense anyway? Not sure why apple designed it this way, or if im just not realizing something.

Thanks

nick

like image 810
nickthedude Avatar asked Oct 16 '10 00:10

nickthedude


1 Answers

If you don't mind adding an extra step of selecting the camera roll from an album list you can try changing your sourceType from SavedPhotoAlbums to PhotoLibrary:

imagePickerController.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;

After selecting the desired album, the next photo selection view will show the most recent images at the bottom.

like image 138
Min Tsai Avatar answered Sep 18 '22 21:09

Min Tsai