Comment on How to disable window resizing in swiftui on macOS? How does one apply this conditionally if backward compatibility with macOS 12 is desired? SceneBuilder does not allow control flow statements. UI Frameworks SwiftUI Dec ’22