Apple offer the batteryState in the UIDevice class:
device
[Swift] Get devices model range
Here a simple and easy memo for getting the iPhones devices models range.
Apple offer the batteryState in the UIDevice class:
Here a simple and easy memo for getting the iPhones devices models range.