0

I run my app on devise iPhone (iOS 4.3.3) And app generate warning "Deregistering for sleep notifications when we have not registered" What is this mean?

This is because I wrote this

[UIApplication sharedApplication].idleTimerDisabled = YES;
[UIApplication sharedApplication].idleTimerDisabled = NO;

After first line, i receive warning: [Warning] IORegisterForSystemPower failed. And Then i try turn off, but it already turn off

deanWombourne
  • 37,677
  • 13
  • 96
  • 103
Oksana
  • 12,800
  • 8
  • 51
  • 88

0 Answers0