ios - How to catch an event when iPhone is rebooted in Objective-C? -


what trying setup local notification. code working expected if phone switched off?

after reading article on uilocalnotification when iphone switched off need recreate each local notification had been made go through how check if ios device has been rebooted since launch, , how can detect whether iphone has been rebooted since last time app started, , still not reach target.

what want know is: there event launched when iphone rebooted ?

you misread sources.

local notification won't fire when phone off (normal it's off). however, if have notification @ 3pm, reboot phone @ 2pm, notification fire normally.


Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -