Shizam
Shizam

Reputation: 9672

When using the UIImagePickerController in iOS4 to pick from the photo library can you start w/newest first?

Is there a way to show the UIImagePickerController photo library interface such that when it comes up it starts at the bottom of the library which is where the newest images are in iOS4? Apparently this is how it worked in 3.x.

Thanks

Upvotes: 0

Views: 458

Answers (3)

Shizam
Shizam

Reputation: 9672

Turns out the answer here is no.

Upvotes: 0

Min Tsai
Min Tsai

Reputation: 2139

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.

However, this adds an additional step, since users need to select an album before viewing the photos. This works for the Camera Roll, but synced albums still show photos at the top.

Upvotes: 2

Trefex
Trefex

Reputation: 2320

I'm not too familiar with iOS dev, but looking at the doc for this @ Apple: http://developer.apple.com/iphone/library/documentation/uikit/reference/UIImagePickerController_Class/UIImagePickerController/UIImagePickerController.html

I don't see any way you can do this in one go.

Did you try simply scrolling down after loading the image picker? Or is that not possible?

Sorry, just throwing ideas out there.

Cheers,

Upvotes: 0

Related Questions