I am using sounds in an app and I thought I was doing it right but the app was rejected by Apple because:
We noticed your app declares support for audio in the UIBackgroundModes key in your Info.plist, but no audible content is played when the application is in the background. While your intention may have been to provide this functionality, at the time of review, we were not able to play background audio for your app.
The code I am using is in a quiz game:
[lua]sound_to_play = math.random(1,#correct_sounds)
play_sound = audio.loadSound(correct_sounds[sound_to_play].sound)
correct_play = audio.play( play_sound )[/lua]
Should I not be using audio.loadSound for small files? [import]uid: 112036 topic_id: 22750 reply_id: 322750[/import]