Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

iOS - remote control events

$
0
0

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


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>