What I am trying to do is setup a local notification. The code is working as expected but what if the phone is switched off?
After reading some article on UILocalNotification when iPhone switched off I need to recreate each local notification had been made so I go through this How to check if iOS device has been rebooted since launch, and How can I detect whether the iphone has been rebooted since last time app started, and still could not reach my target.
What I want to know is: is there an event that would be launched when the iPhone is rebooted ?