CameraUi not working on iOS with AIR 18 or AIR 19. Crashes.
It simply crashes, when doing this:
if( CameraUI.isSupported )
{
var deviceCameraApp:CameraUI = new CameraUI();
deviceCameraApp.addEventListener( MediaEvent.COMPLETE, imageCaptured );
deviceCameraApp.addEventListener( Event.CANCEL, captureCanceled );
deviceCameraApp.addEventListener( ErrorEvent.ERROR, cameraError );
deviceCameraApp.launch( MediaType.IMAGE );
}
It shows the CameraUI, but it's black. And then it launches this error: [Fault] exception, information=ArgumentError: Error #3683: Texture too big (max is 2048x2048).
Any ideas?
