iosuikituidevice

IOS, wireless or usb charging status


I would like to find out if it is possible to know if the iphone is charging from usb or wireless. I do develop for Android but not at all for IOS. Therefore, i know it is possible on android to get this information from the BatteryManager but not on IOS.

I tried to find the equivalent on ios but i only found the UIDeviceBatteryState.

The only constants are :

Any ideas?


Solution

  • For sorry you can't know that in IOS the only available properties regarding battery in the current UIDevice are enter image description here