Adobe AIR and iPhone - how it works?

前端 未结 2 1196
清酒与你
清酒与你 2021-02-08 13:53

Anyone knows how the Adobe AIR application are converted to iPhone apps? I see two ways - either the Adobe AIR virtual machine mus be part of every application or they must conv

相关标签:
2条回答
  • 2021-02-08 14:07

    Unlike other platforms, Adobe Air is compiled into native code when you build an iOS application.

    Here is a part of a blog post from Adobe:

    We created a new compiler front end that allowed LLVM to understand ActionScript 3 and used its existing ARM back end to output native ARM assembly code. We call this Ahead of Time (AOT) compilation—in contrast to the way Adobe Flash Player and Adobe AIR function on the desktop using Just in Time (JIT) compilation. Since we are able to compile ActionScript to ARM ahead of time, the application gets all the performance benefits that the JIT would offer and the license compliance of not requiring a runtime in the final application.

    That means that:

    1. The Air runtime is not packaged within the application.

    2. AS3 code is not converted into Objective-C code, but is compiled directly into native assembly code.

    0 讨论(0)
  • 2021-02-08 14:29

    taken from adobe website: http://www.adobe.com/devnet/air/articles/air3-install-and-deployment-options.edu.html

    Note that the captive runtime is the only option that is available when using AIR to target iOS. Since iOS does not support a shared runtime model, the captive model remains the only option on this platform.

    Anyone using the captive runtime should be aware that it has two downsides:

    Increased application size. Since an entire copy of the runtime is included in your application, the size of the application package is necessarily increased.

    Increased security burden.

    0 讨论(0)
提交回复
热议问题