I'm using the next function to save photos in my app:
UIImageWriteToSavedPhotosAlbum(pngImage, self, @selector(image:didFinishSavingWithError:contextInfo:), NULL);
It works well on iOS 5.1.1 devices, and iPod/iPhone iOS 6.0 devices.
But strangely photo saving doesn't work on iPad 3 with iOS 6.0 and returns the following error:
Error Domain=ALAssetsLibraryErrorDomain Code=-3310 "Data unavailable" UserInfo=0x1cd6afc0 {NSLocalizedRecoverySuggestion=Launch the Photos application, NSUnderlyingError=0x1cdaa140 "Data unavailable", NSLocalizedDescription=Data unavailable}
Did anybody encounter this problem and what are the ways to deal with it?