Can we play .swf files in iPhone using Objective-C

2020-05-03 12:19发布

问题:

Can we programmatically play,export .swf files in the ipad using Objective-C, if then could any one suggest the native or external library which supports this feature.

回答1:

No, the iPhone SDK and iOS doesn't support Flash (well known fact :). There're several apps that convert Flash / Shockwave Flash Files to HTML(5) on the server side.

Stating the Apples Terms

An Application may not itself install or launch other executable code by any means, including without limitation through the use of a plug-in architecture, calling other frameworks, other APIs or otherwise. No interpreted code may be downloaded and used in an Application except for code that is interpreted and run by Apple's Published APIs and builtin interpreter(s).



回答2:

Audio Playback and Recording Formats The audio playback formats supported in OS are the following:

*AAC
*HE-AAC
*AMR (Adaptive Multi-Rate, a format for speech)
*ALAC ( Lossless)
*iLBC (internet Low Bitrate Codec, another format for speech)
*IMA4 (IMA/ADPCM)
*linear PCM (uncompressed)
*µ-law and a-law
*MP3 (MPEG-1 audio layer 3

The audio recording formats supported in OS are the following:

*AAC (on supported devices only)
*ALAC ( Lossless)
*iLBC (internet Low Bitrate Codec, for speech)
*IMA4 (IMA/ADPCM)
*linear PCM
*µ-law and a-law

https://developer.apple.com/library/archive/documentation/MusicAudio/Conceptual/CoreAudioOverview/SupportedAudioFormatsMacOSX/SupportedAudioFormatsMacOSX.html