2

I know that UIImagePickerController is not support multi-select so i tried some alternatives: ELCImagePickerController, WSAssetPickerController and CTAssetsPickerController.

All of them support the multi-select feature, but i also need the "Moments" view as in the UIImagePickerController :

enter image description here

Is there any library that support multi-select and "Moments" view?

tal952
  • 953
  • 12
  • 18

2 Answers2

4

Try GMImagePicker. It uses the new Photos framework (PhotoKit) which gives you access to iOS 8's photo hierarchy. You're going to have to customize it a bit, though.

In Apple's documentation:

Use the PHCollectionList class to find assets corresponding to the Moments hierarchy in the Photos App

So somewhere around here you'll want to call one of the fetchCollectionLists functions like fetchCollectionListsWithType:subtype:options: with type PHCollectionListTypeMomentList. You'll have another PHFetchResult to treat as an album the way the author does here.

If I have time I'll edit this with a more thorough answer, but I think it'll be fun and educational to learn the Photos framework and work on this yourself.

Duc
  • 487
  • 1
  • 7
  • 15
1

Try this. I can't immediately see if it supports moments, but give it a go.

You might also be interested in this article from objc.io on the Photos Framework

Chris
  • 7,830
  • 6
  • 38
  • 72