Window size of iOS app running on Mac

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 ?

Window size of iOS app running on Mac
 
 
Q