Displaying iOS Device Battery level indication within your application.

sugartin battery iOS Device

Very simple illustration for implementing this. 1. Open your view controller. 2. Enable Battery monitoring. 3. Put a scheduler to update battery details. Here is the code for it.

Here is the scheduler method.

Grab the source code … Continue reading