Source: http://www.swfdiy.com/?p=1239
1. Use Xcode to create a new static library project on iOS
2. Copy the FlashruntimeExtension.h into the engineering catalogue from Air Sdk/include and quote
3. Use C, combined with some of the Flash runtime extenstion APIs to implement the native features you want
4. Compile the project to generate a static library: TEST.A
5. The following procedure can be removed from the Mac
6. FB in a new Flex library project, add as class, used to act as a bridge for Ane<->air, inside instantiate extension context
7. Compile the Flex Library project into SWC, copy one, unzip, then put the previous test.a into, and write the extension.xml, define the relevant interface connection. Finally, an ane file is generated using the ADT command. Here you can assume that ane is actually equal to swc+ a static library
8. It's basically done here. Create a new as mobile project, add the previously generated ANE, and then use ADT to package it into an IPA to complete.
In one sentence, C = test.a + ASLIB.SWC = test.ane + Mobile application = Application.ipa