A quick curiosity.
If I develop an application with ios 5(e.g core audio kAudioUnitSubType_AudioFilePlayer) components and set the deployment target to ios 4 will the ios 5 components work on an ios 4 device?
A quick curiosity. If I develop an application with ios 5(e.g core audio kAudioUnitSubType_AudioFilePlayer)
Share
Since nobody can travel back in time, you cannot use iOS 5 features on iOS 4.
However, you can write an app that runs fine on iOS 4 and uses iOS 5 features if available. For example, you can ask a class whether it implements a method using
respondsToSelector:, and if so, you can call it.With
kAudioUnitSubType_AudioFilePlayer, you can simply try to initialize the audio unit withAUGraphNewNodebut on iOS 4 you will get an error (but not a crash).