A cocoa-touch framework. An instance of ALAssetsLibrary represents the videos and photos that are under the control of the Photos application.
10
votes
1answer
1k views
ALAssetsLibrary - crash after receiving ALAssetsLibraryChangedNotification
Part of my app has a photo browser, somewhat similar to Apple's Photos app, with an initial view controller to browse photo thumbnails and a detail view that's shown when you tap on a photo.
I'm ...
9
votes
3answers
6k views
How to get a photo's original filename in iOS?
I'm currently developing an iPad app where a user will enter a photo filename in a text field (as part of field notes), then later they will import their photos to the iPad's photo library. The app ...
8
votes
2answers
863 views
Generating custom thumbnail from ALAssetRepresentation
My main problem is i need to obtain a thumbnail for an ALAsset object.
I tried a lot of solutions and searched stack overflow for days, all the solutions i found are not working for me due to these ...
7
votes
3answers
2k views
Orientation does not behave correctly with Photo in ALAsset
I current have an app that uses ALAsssetsLibrary to fetch the photos. I have placed the photo to an image view and I am able to upload to the server. When I tested on the real device after taking some ...
6
votes
3answers
917 views
“More than maximum 5 filtered albums trying to register. This will fail.” using AssetsLibrary
I sometimes get "More than maximum 5 filtered albums trying to register. This will fail." when I call setAssetsFilter on a ALAssetsGroup.
Anyone knows why? I've seen similar questions but all ...
5
votes
2answers
8k views
Getting video from ALAsset
Using the new asset library framework available in iOS 4 i see that I can get the url for a given video using the UIImagePickerControllerReferenceURL. The url returned is in the following format:
...
5
votes
3answers
3k views
Access a single image with ALAssetsLibrary
Allow me to preface this by saying this is my first time using the ALAssetsLibrary. I need to access the most recent photo in the user's saved photo gallery. It seems that to do this, I have to create ...
5
votes
2answers
465 views
How to get Image Filename and Tag of images in photos album?
Is there a way to get the image file name and tag of images in the photo album?
I'm using ALAssetsLibrary and still scratching...
5
votes
1answer
1k views
iOS5 Saving images to custom folder, ALAssetsLibrary fail
<><> ----
Aalok has answered this question, I'm just waiting for him to write it up so I can chose that as the correct answer. Until then, along with making the changes he describes below I ...
5
votes
1answer
422 views
Access cropped or edited images using ALAssetsLibrary
I have an ipad app which takes images from Photos application using ALAssetsLibrary and then uploads them to web server. So far everything is working fine.
Now if i go to the photos application and ...
5
votes
1answer
3k views
ALAssetsLibrary enumerateGroupsWithTypes: - Thread synchronization
I'm using [ALAssetsLibrary enumerateGroupsWithTypes:] to store the ALAssets in an array. As this is an asynchronous operation, I need to wait for it to finish before continuing my work.
I read Cocoa ...
4
votes
2answers
2k views
Is ALAssetsLibrary's enumerateGroupsWithTypes:usingBlock:failureBlock: “broken” in iOS 4.3.4?
I'm developing an iOS app that is based on ALAssetsLibrary api (available since 4.0), I use it to retrieve all the images and videos saved on the device and it's been pretty simple to do that. Anyway ...
4
votes
1answer
793 views
Best way to sync iOS application with ALAssetsLibrary when app comes to foreground
My application keeps a cache of ALAssets. The user may put the app into the background and then use the Photos app, or some other means, to delete some photos or videos. When my app is in the ...
4
votes
2answers
650 views
Application Would You Like to Use Your Current Location! using ALAssetsLibrary
My application only gets image and it's metadata from ios device using ALAssetsLibrary.
When application starts loading images list ios warning is shown..
"Application" Would Like to Use Your ...
4
votes
2answers
1k views
Saving Image To Custom Library
I have an App which stores images to Custom Library in Photo Album in iphone.
I called the following Function of ALAssetLibrary
-(void)saveImage:(UIImage*)image toAlbum:(NSString*)albumName ...