Amogam
Amogam

Reputation: 437

How to make sure scheduled notification works with respect to timezone and daylight savings

As far as I understand , when we pass date time components as a trigger for notification. It automatically handles

But I know in older UILocalnotification we've to do the below to get this above result.

notification.timeZone = NSTimeZone.systemTimeZone() 

Can we completely trust UNUserNotification with Datetimecomponents ?

Someone please clarify

Upvotes: 1

Views: 83

Answers (0)

Related Questions