Hi,
My app, which worked perfectly under iOS7 has suddenly started falling over under iOS8 GM. I have builds under both AIR 14 and AIR 15 which both experience the same problem, so I' pretty sure it's iOS related. I'm running on an iPad 1458.
The issue is when loading images from the camera roll. I'm getting seemingly random "Error #2044: Unhandled IOErrorEvent:. text=Error #2032: Stream Error." when invoking loadFilePromise():
privatefunction cameraRollMediaSelectHandler(event :MediaEvent): void
{
var promise:MediaPromise = event.data as MediaPromise;
loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onImageLoaded);
loader.addEventListener(AsyncErrorEvent.ASYNC_ERROR, errorHandlerAsyncErrorEventHandler);
loader.addEventListener(IOErrorEvent.IO_ERROR, errorHandlerIOErrorEventHandler);
loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, errorHandlerSecurityErrorEventHandler)
loader.loadFilePromise(promise);
(FlexGlobals.topLevelApplication as IPleaseWait).pleaseWait( true);
}
Has anybody else come across this? Any resolutions?
Thanks!
Simon