SOLVED: iPhone app, allowing music to continue playing from Apple Music or Spotify
Posted: Mon Apr 13, 2020 10:42 am
SOLVED (I hope it works when I publish App Store): https://livecode.fandom.com/wiki/Iphonesetaudiocategory
Use command
I've made a workout timer app for iphone that has some sound cues eg mp3 files counting down "3,2,1" and saying "Rest" at appropriate times.
When people workout they probably want to listen to some music alongside the apps sound cues.
But as soon as any mp3 file is played on the app, my Apple Music or Spotify music stops immediately.
Is there any way around this?
I have definitely seen other iphone workout apps (eg BT lite) that allow for music to continue in the background with the app sound cues as well.
Thankyou,
Gee
Mac Catalina Version 10,15,3
iPhone X IOS 13,3,1
LiveCode 9,6,0 (dp3)
Xcode 10,1 & 11,3
Use command
Code: Select all
on preOpenStack
iphoneSetAudioCategory "ambient"
end preOpenStack
When people workout they probably want to listen to some music alongside the apps sound cues.
But as soon as any mp3 file is played on the app, my Apple Music or Spotify music stops immediately.
Is there any way around this?
I have definitely seen other iphone workout apps (eg BT lite) that allow for music to continue in the background with the app sound cues as well.
Thankyou,
Gee
Mac Catalina Version 10,15,3
iPhone X IOS 13,3,1
LiveCode 9,6,0 (dp3)
Xcode 10,1 & 11,3