Hello, I got a bug report from QA team for an app.
When enabling Assistive touch in settings and restart an app, BGM doesn't play.
I use
bool otheraudioplaying=[[AVAudioSession sharedInstance] isOtherAudioPlaying];
to check if music is played outside app. I stop app BGM when otheraudioplaying is true.
Unfortunately, on iPhone X only, it seems that when Assistive touch enabled otheraudioplaying
becomes true.
Is it by design, and if it is, how do I implement is other audio playing check in my app?
Any workarounds will help. Thank You!