title: How can I remove maximize, minimize and close button in macOS in SwiftUI-life cycle?
body: <p>I am working on a project for removing maximize, minimize and close buttons which we can see in every window in every App/projects build with Xcode for <strong>macOS</strong> in <strong>SwiftUI-life cycle</strong>. How could I do this?</p>
  <hr />
  <p><a href="https://i.stack.imgur.com/6i1Cc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6i1Cc.png" alt="enter image description here" /></a></p>
  <hr />
  <p>PS: Please consider I am coding on <strong>SwiftUI-life cycle/macOS</strong> and if your code or way is not compatible with that then I could not make use of it. thanks for help and your time.</p>
  <p><strong>Update, date 05-March-2022:</strong>
  The question is still open and looks for a SwiftUI approach. You can answer this question with SwiftUI api.</p>