xcode5 - ios 8, how to get all photos using ALAssetLibrary to replace the missing camera roll album -


i have app has custom image picker uses alassetlibrary create album picker , image picker. we've implemented custom picker in order our customers select multiple images. image picker works great under ios 7 , shows "camera roll" album user's photos. however, when running same app under ios 8, seems apple has removed "camera roll" album albums view , shows "recent photos". can see, way access photos in ios 8 through collection view (in photos app or new built-in picker). unfortunately, can't use photokit @ time because still need support ios 6 & 7 users. know of way obtain assets , create custom camera roll album using alassetlibrary when running ios 7 app under ios 8 (compiled in xcode 5)?

update

well, stated in original post above, not able use new photos framework (photokit). however, moved our builds xcode 6 , can use photos framework create group of photos (look @ wwdc exampleappusingphotosframework sample code how this).

however, powerful saying photokit is, it's missing crucial filtering capabilities. in fact there no easy way filter out photos in original "photostream" using predicate phfetchresult. can use public properites. fortunately, figured out how filter them using phasset description. assetsource key listed in description equal 2 if photo in user's photostream. so, used fast enumeration on results , moved assets array not in photostream using simple stringinrange filter on asset.description property (looking "assetsource=2"). may not best solution, works user not see duplicates of photos both local library , photostream. @ least can present customer's photos , allow multi media picker function close original class used alassetlibrary.

by mean, if has better solution using predicate, please lmk.

alright, seems bug, , ios 8.0.2 fixed (at least me, can see photos in image picker).

this release contains improvements , bug fixes, including:

[...] fixes issue prevented apps accessing photos photo library. [...]


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -