On simulator apps never pause in background

This commit is contained in:
Sebastián Katzer 2014-11-17 14:56:26 +01:00
parent 8280fdeb3a
commit 6fdfbdc29f

View File

@ -106,6 +106,11 @@
* Let the app going to sleep.
*/
- (void) stopKeepingAwake {
if (TARGET_IPHONE_SIMULATOR) {
NSLog(@"BackgroundMode: On simulator apps never pause in background!");
}
[audioPlayer pause];
}