2

Is there any way to detect when user change the phone timezone, or when it changes automatically at background fetch?! I need to reschedule all my local notifications when the phone timezone changes.

rmaddy
  • 314,917
  • 42
  • 532
  • 579
NabiMo
  • 105
  • 9
  • As a third party dev, I don't that we are able to do it... – Ahmad F Jan 10 '19 at 12:41
  • Could you add code which create a local notification. I think that UNCalendarNotificationTrigger should be time zone independent. So, if you schedule it at for example 9:00 at some date it will fire at local user time even if he change time zone. – Anton Vlasov Jan 10 '19 at 12:46

1 Answers1

1

I think this can help you

optional func applicationSignificantTimeChange(_ application: UIApplication)

https://developer.apple.com/documentation/uikit/uiapplicationdelegate/1622992-applicationsignificanttimechange

Ajay saini
  • 2,352
  • 1
  • 11
  • 25