It was about time we updated the Camera AIR Native Extension for iOS 7 and AIR SDK 4.0.

We also fixed a couple of bugs along the way, including this one, reported by admin@cuijiahao.com:

What steps will reproduce the problem?
1. Set camExt.startVideoCamera( NativeCameraExtension.PresetPhoto, 24, 50, false);
2. bytearray returned with dimension 852 * 640, which is good
3. after converting the obtained bytearray to bitmapdata, the bitmap image is distorted and unusable

* All other presets work very well in the code when I replace PresetPhoto with any other preset.

This has now been fixed.

Download the ANE

The quickest way to get the updated ANE is to download it here.

Where is the manual?

For instructions on how to use the iOS camera ANE, check out the project’s WiKi page.

Need the code?

April 2014 update: We have turned this project into a step-by-step tutorial with complete source code. Check it out on our new website, EasyNativeExtensions.com.

What’s next?

Expect step-by-step tutorials for how to make your own Camera ANE or how to extend the we’ve released. Soon to be published on http://easynativeextensions.com

We will also be taking questions and feature requests. If you can’t wait, post yours in the comments below.

Want more functionality and Android support?

Check out our DiaDraw Native Camera Driver.

Opt In Image
Making your own extension?

Fill in your details below and get a free sample of the Easy Native Extensions eBook.

  • step-by-step guide to making your iOS extension in under an hour
  • tutorials
  • infographics
  • example code

About the Author

Radoslava is co-founder of DiaDraw. Prefers to communicate with images. Verbal communication always caused trouble with her parents. Started speaking Basic early on, followed by four years of Delphi, six years of C++, four years of ActionScript, lately converses in Objective-C. Her mum and dad hope she'll start speaking human at some point.