My have noticed a good amount of users would like to play there own music while playing my app.
The iTunes plug-in is what you are after.
Look in the resources section of this site
Hi;
On Apple devices, this chunk of code (put it in main.lua) should solve the problem and allow your users to play audio from other apps, including iTunes, while your app is running.
– Set the audio mix mode to allow sounds from the app to mix with other sounds from the device
if audio.supportsSessionProperty == true then
--print(“supportsSessionProperty is true”)
audio.setSessionProperty(audio.MixMode, audio.AmbientMixMode)
end
Steve
The iTunes plug-in is what you are after.
Look in the resources section of this site
Hi;
On Apple devices, this chunk of code (put it in main.lua) should solve the problem and allow your users to play audio from other apps, including iTunes, while your app is running.
– Set the audio mix mode to allow sounds from the app to mix with other sounds from the device
if audio.supportsSessionProperty == true then
--print(“supportsSessionProperty is true”)
audio.setSessionProperty(audio.MixMode, audio.AmbientMixMode)
end
Steve