A aston macrumors newbie Original poster Apr 27, 2009 3 0 Apr 27, 2009 #1 Hi! I have small app that mix a sounds and when screensaver starts it plays only one. I use AVAudioPlayer. Thanks
Hi! I have small app that mix a sounds and when screensaver starts it plays only one. I use AVAudioPlayer. Thanks
Jeremy1026 macrumors 68020 Nov 3, 2007 2,216 1,030 Apr 27, 2009 #2 aston said: Hi! I have small app that mix a sounds and when screensaver starts it plays only one. I use AVAudioPlayer. Thanks Click to expand... If you mean when the phone auto-locks, to disable is just do Code: UIApplication *thisApp = [UIApplication sharedApplication]; thisApp.idleTimerDisabled = YES;
aston said: Hi! I have small app that mix a sounds and when screensaver starts it plays only one. I use AVAudioPlayer. Thanks Click to expand... If you mean when the phone auto-locks, to disable is just do Code: UIApplication *thisApp = [UIApplication sharedApplication]; thisApp.idleTimerDisabled = YES;
A aston macrumors newbie Original poster Apr 27, 2009 3 0 Apr 27, 2009 #3 Jeremy1026 said: If you mean when the phone auto-locks, to disable is just do Code: UIApplication *thisApp = [UIApplication sharedApplication]; thisApp.idleTimerDisabled = YES; Click to expand... Thanks a lot!
Jeremy1026 said: If you mean when the phone auto-locks, to disable is just do Code: UIApplication *thisApp = [UIApplication sharedApplication]; thisApp.idleTimerDisabled = YES; Click to expand... Thanks a lot!