SystemTimeZoneMonitor
public class SystemTimeZoneMonitor : BaseNotificationMonitor
A SystemTimeZoneMonitor
instance monitors the system for changes to the
currently used time zone.
-
Encapsulates changes to the system time zone.
See moreDeclaration
Swift
public enum Event
-
Initializes a new
SystemTimeZoneMonitor
.Declaration
Swift
public init(queue: OperationQueue = .main, handler: @escaping (Event) -> Void)
Parameters
queue
The operation queue on which the handler executes. By default, the main operation queue is used.
handler
The handler to call when the system time zone changes.
-
Declaration
Swift
override public func addNotificationObservers()