Search code examples
iphonexcodealertuialertviewbattery

How can I temporary disable "low battery" UIAlertView on iPhone?


I'm developing something like a stopwatch, so I have to turn off that below 20% battery alert view somehow during a time measuring session (I will inform the user about battery percentage elsehow).

I just couldn't google for any answer.


Solution

  • You can't do this using the public iPhone SDK.