Home:ALL Converter>How can I remove maximize, minimize and close button in macOS in SwiftUI-life cycle?

How can I remove maximize, minimize and close button in macOS in SwiftUI-life cycle?

Ask Time:2021-03-31T21:37:39         Author:ios coder

Json Formatter

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 macOS in SwiftUI-life cycle. How could I do this?


enter image description here


PS: Please consider I am coding on SwiftUI-life cycle/macOS 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.

Update, date 05-March-2022: The question is still open and looks for a SwiftUI approach. You can answer this question with SwiftUI api.

Author:ios coder,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/66888981/how-can-i-remove-maximize-minimize-and-close-button-in-macos-in-swiftui-life-cy
yy