0

In my game, the sprites blink when iOS goes into idle. To fix this issue, I set idle timer disabled, but the app can still get idle in some scenarios, for instance, the app get sleep and then switch back by users.

Is there any way I can wake up ios proactively with some API?

Rafał Sroka
  • 39,540
  • 23
  • 113
  • 143
poordeveloper
  • 2,272
  • 1
  • 23
  • 36

1 Answers1

1

There is no way of doing it other than:

[UIApplication sharedApplication].idleTimerDisabled = YES;

Only the user can control when your app is sent to background / foreground / sleep.

Rafał Sroka
  • 39,540
  • 23
  • 113
  • 143