performance - Is there any way to detect iOS 9 low power mode programmatically? -


i know user can detect low power mode observing colour of battery icon, there api call allows program detect low power mode?

yes, can either add observer or query directly. i'd paste code samples, still behind nda.

https://developer.apple.com/library/prerelease/ios/documentation/performance/conceptual/energyguide-ios/lowpowermode.html


Comments

Popular posts from this blog

gcc - MinGW's ld cannot perform PE operations on non PE output file -

How to connect android app to App engine -

hadoop - Running Map Reduce Job shows error - Mkdirs failed to create /var/folders/ -