Apple offer the batteryState in the UIDevice class:
[Swift] Get devices model range
Here a simple and easy memo for getting the iPhones devices models range.
notes from a developer, tutorials, how-to, ideas
Apple offer the batteryState in the UIDevice class:
Here a simple and easy memo for getting the iPhones devices models range.