Я не могу найти что-то определенное, используя мой любимый инструмент, однако я подумал, что я его вытащил...
Есть ли способ использовать iPhone SDK для приложения, чтобы определить, находится ли устройство в состоянии приема питания (зарядка, док-станция и т.д.)?
Я хотел бы иметь возможность автоматически отключать idleTimer, если устройство получает питание (в противном случае это заданная пользователем настройка).