Quantcast
Channel: Adobe Community : All Content - AIR Development
Viewing all articles
Browse latest Browse all 2954

iOS 8 GM and AIR 15 CameraRoll

$
0
0

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


Viewing all articles
Browse latest Browse all 2954

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>