I want to record the time when an iDevice turns On/Off and then save it in a database when the device turns on.I will save both the turn-off and turn-on time when the iDevice turns-on.
I tried to do this in android using the broadcastreceiver, is this possible in iOS?
I found a list of public notifications in https://gist.github.com/hpique/7554209 and its not there.
I hope someone could help me. Thank you.