Tuesday, April 2, 2013
I recently upgraded my iphone 4 with IOS 6 and the upgrade was fine. Then I upgraded my phone the patch 6.1.3 and to my surprise after the update got completed all my screen colors have gone distorted. All pictures looks like I am watching an xray film.
Friday, March 8, 2013
Saving pictures to custom photos album then reloading
I'm trying to save an image to the photos album. But then I want to save some kind of reference to where it is, so that I can save it (using NSKeyedArchiver), close the app... and then be able to open the app again and reload the image. I'm not seeing how to do this. This is how I'm saving the image... how do I save a reference to it. I tried to save the assetURL variable within the completion block, but I was unable to do so... Would appreciate any help.
[self writeImageToSavedPhotosAlbum:image.CGImage orientationALAssetOrientation)image.imageOrientation
completionBlock:^(NSURL* assetURL, NSError* error) {
//error handling
if (error!=nil) {
completionBlock(error);
return;
}
}];
Re: Saving pictures to custom photos album then reloading
I was able to save the assetURL within the completion block. I was having "not assignable" issues before. Seems to work now.