assetslibrary

AssetsLibrary and ImageView -setImage Slowness

So this one is pretty odd ad I'm not sure if the trouble is with the AssetsLibrary API, but I can't figure out what else might be happening. I am loading an array with ALAssets using the -enumerateAssetsUsingBlock method on ALAssetsGroup. When it completes, I am loading a custom image scroller. As the scroller finishes scrolling, I use ...

Asset location information unavailable

I am trying to get picture locational information with this code: NSArray* assetsA = [myAssetsProxy getAssets]; int assetIDX = 0; int n = [assetsA count]; for(assetIDX = 0; assetIDX < n; assetIDX++) { ALAsset* asset = [assetsA objectAtIndex:assetIDX]; id value = [asset valueForProperty:ALAssetPropertyLocation]; if ([value is...

Need Help in saving Geotag info with photo on iOS4.1

I am having major issues trying to save a photo to camera roll with geotag info on iOS4.1. I am using following ALAssetsLibrary API: (void)writeImageDataToSavedPhotosAlbum:(NSData *)imageData metadata:(NSDictionary *)metadata completionBlock:(ALAssetsLibraryWriteImageCompletionBlock)completionBlock I have the GPS coordinates that i w...

How to receive ALAssetsLibraryChangedNotification in iOS 4 while in background

I would like to register my iOS 4 app as an observer for ALAssetsLibraryChangedNotification and receive notifications when changes happen to the camera roll and photo library. The most obvious scenario is: 1) My app enumerates photo contents using ALAssetsLibrary. 2) Leave my app (goes into background) and launch the camera app. 3) Take ...

Continuing the prev question of ASSETWriterInput for making Video from UIImages on Iphone Issues

I want a new thread because I like to post some codes , the little comment section wouldn't do it. Thanks peter Deweese previously, but I still have issues.. I have a loop, getting a screen capture 30 times. Each time I got an image I call convert to append that image to video. After that, close the video file so, anything I did w...