My app has set the following in tiapp.xml:
<key>UIBackgroundModes</key> <array> <string>audio</string> </array>so it can play audio in the background. According to Apple's doc, as long as the audio is playing, the app won't be suspended. Once the audio stops, the app is suspended.
What I notice is that when the app is suspended (no audio is playing), it can still receive these remote-control events. How? Does the system wake the app up to the background when these events occur?
Here is the module I use for remote control events: TiRemoteControl
Running on iOS 7, TiSDK 3.3.0