I have Mac-catalyst app. I would like to know options to set the max or minimum size of a window in objective-c.
Here is an example in swift
UIApplication.shared.connectedScenes.compactMap { $0 as? UIWindowScene }.forEach { windowScene in
windowScene.sizeRestrictions?.minimumSize = CGSize(width: 480, height: 640)
}
Could someone help provide example in objective-c