Thursday, December 12, 2013

iphone development background light problem (or prevented from entering sleep, and be able to come back from wake)

If the program runs in the background to keep the lights off automatically under certain conditions and can automatically unlock the device?
Reply:
Only know how to prevent lock

/ / Prevent auto-lock
application.idleTimerDisabled = YES;
Reply:
The problem is too dynamic techniques do have, you do not SLEEP, WAKE do it?
Reply:
You have to do the effect should be a floor effect it.
Reply:
[[UIApplication sharedApplication] setIdleTimerDisabled: YES];
Reply:
cited landlord robbytang reply:
keep the program if the backlight automatically turns off after a run, and under certain conditions can be automatically unlock the device?
Anti-lock.
Reply:
Ultra-low power consumption is not locked


Reply:
application.idleTimerDisabled = YES;
To prevent the lock, but the first question is apple?
Reply:
Running in the background can use plugins, unlock. . . . Currently seemingly no solution
Reply:
Currently no solution.
Reply:
The machine must be feasible jailbreak

No comments:

Post a Comment