I try to make an app, and now i shoud make some changes when screen resolution will change, but i coudn\'t find how to intercept this event.
Do you have any ideea ho
Here is the updated Swift 3 code:
NotificationCenter.default.addObserver(forName: NSNotification.Name.NSApplicationDidChangeScreenParameters, object: NSApplication.shared(), queue: OperationQueue.main) { notification -> Void in print("screen parameters changed") }