iphone - get notification on timezone change in iOS -


can application notification when device timezone changed? want notification when application foreground. nstimezone not worked me have continuously check timezone.

uiapplicationdelegate has method called applicationsignificanttimechange: gets called when there significant change in time.

the examples listed in documentation are:

examples of significant time changes include arrival of midnight, update of time carrier, , change daylight savings time

but assume timezone changes count significant time change.

the docs if time change happens when app in background when go foreground

if application suspended, message queued until application returns foreground, @ point delivered.

you can listen uiapplicationsignificanttimechangenotification posted same information anywhere else in app.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -