I need constraint the window size for an iOS app running on Mac.
That's easy for a MacApp, using
self.window?.minSize.width = 450
self.window?.maxSize.width = 450
or use
func windowDidResize(_ notification: Notification) { }
but how to achieve it in UIKit ?