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.
Asked
Active
Viewed 431 times
2
-
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 Answers
1
I think this can help you
optional func applicationSignificantTimeChange(_ application: UIApplication)

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