Questions tagged [alassetsgroup]

An ALAssetsGroup object represents an ordered set of the assets managed by the Photos application. The order of the elements is the same as the user sees in the Photos application. An asset can belong to multiple assets groups.

An ALAssetsGroup object represents an ordered set of the assets managed by the Photos application. The order of the elements is the same as the user sees in the Photos application. An asset can belong to multiple assets groups.

Assets groups themselves are synced via iTunes, created to hold the user’s saved photos or created during camera import. You can indirectly modify the Saved Photos group by saving images or videos into it using the ALAssetsLibrary class.

Click Here for Apple's Documentation for ALAssetsGroup.

12 questions
25
votes
1 answer

Access Burst Mode photos in library

I’m trying to access photos in the iOS asset library that the user has taken using Burst Mode. I’m trying using ALAssetsLibrary and filtering photos: - (void)findBurstModePhotos { ALAssetsFilter *allPhotos = [ALAssetsFilter allPhotos]; …
Jeff Kelley
  • 18,594
  • 5
  • 67
  • 80
4
votes
0 answers

How to expose panoramas as an album when picking photos albums

I'd like to expose a panoramic photo album in my custom picker as Apple Photo just does. How would you do that, provided I find nothing about a special dedicated ALAssetsGroup?
Stéphane de Luca
  • 10,239
  • 7
  • 45
  • 74
2
votes
0 answers

AlassetsGroup Returning wrong number of assets

While retrieving number of assets from AlassetsGroup, its returning wrong number of assets. I follow the instruction given on link ALAssetsLibrary seems to return wrong number of my photos but this also doesn't worked for me. Please give a solution
Rahish
  • 155
  • 3
  • 9
1
vote
1 answer

ALAssetsGroup numberOfAssets returning 0 with photo library on iPhone that was upgraded with Photos

I have an app that displays a list of photo albums to the user so they can select photos inside them and upload them to a server. That's all good and solid, but one person who upgraded their Mac and iPhoto library to Photos has reported that when…
Michael Gaines
  • 325
  • 3
  • 13
1
vote
2 answers

How to get all photos moment wise using ALAssetLibrary in ios7?

I have problem to get photos in moment wise like apple iphone have in ios8. I have implemented for ios8 using PHAsset and Photos.framework. Now, when i run same code in ios7 device then it returns nothing. So, i go with ALAssetLibrary to get photos.…
Pratik Patel
  • 1,330
  • 12
  • 18
1
vote
1 answer

Retrieve only video of particular album from library ios

I want the list of video that are stored in particular Album like that(VideoMaker) . This list is in array of URL. This list show in uicollectionview I write this code..for to retrieve the video but it gives null value of URL. [_library…
1
vote
1 answer

ALAssetsLibrary invalid or null

I get the following error message : invalid attempt to access past the lifetime of its owning ALAssetsLibrary when I try to create custom Image Picker. I used this APPLE sample to create this app. The sample Apple app…
DilumN
  • 2,745
  • 5
  • 29
  • 40
0
votes
2 answers

ALAssetsLibrary enumerateGroupsWithTypes:ALAssetsGroupPhotoStream doesn't contain videos in the group

The photo stream groups return a count of 0 when filtering for videos. Here's the code to reproduce: ALAssetsGroupType groupTypes = ALAssetsGroupPhotoStream; ALAssetsFilter* assetTypes = [ALAssetsFilter allVideos]; ALAssetsLibrary* library =…
timonroe
  • 101
  • 2
  • 6
0
votes
1 answer

iOS Photo app doesn't show created album (more than 800 pictures)

I've created function to create new album and add pictures from camera roll (by using ALAssetsLibrary and AlAssetsGroup). When I'm trying to add more than 800 pictures, my new album is not showing in iOS Photos app. I have to kill it and open it…
PawelC
  • 1
  • 2
0
votes
1 answer

Need assistance regarding ALAssetsLibrary enumeration

[aLib enumerateGroupsWithTypes:ALAssetsGroupAll usingBlock:assetsGroupEnumerationBlock failureBlock:failureBLock]; This method enumerate every group, I want to enumerate for first group only then I want to break it. My purpose is to ask for…
S.J
  • 2,979
  • 3
  • 30
  • 63
0
votes
2 answers

Terminated due to Memory Pressure By using AssetsLibrary.framework

I am using AssetsLibrary.framework for fetching images from device gallery.I successfully fetched all images from gallery and displayed on my table view.Problem comes when I scroll up and down many times , I receive a memory issue warning getting…
Nilesh Kumar
  • 1,993
  • 3
  • 14
  • 20
0
votes
1 answer

app crashes when retrieving the ALAssets from ALAssetsGroupSavedPhotos group up on receiving ALAssetsLibraryChangedNotification

Part of my app has a photo browser similar to Apple's Photos app (Grid like view). To refresh my photos whenever there is any change in original photo app, i registered for ALAssetsLibraryChangedNotification self.assetsLibrary = [[ALAssetsLibrary…
iOSTech
  • 77
  • 8