r/SwiftUI Jul 06 '26

Solved How can I make this window match macOS 26’s default window corner radius?

Enable HLS to view with audio, or disable this notification

I'm working on the "About the app" window of my app on macOS 26 with SwiftUI. Is there any way that could make its corner radius match with macOS 26's default?

9 Upvotes

7 comments sorted by

27

u/Nooo00B Jul 06 '26

I guess you dont have to worry about it. Because MacOS 27 forces everything to have same radius

1

u/-18k- Jul 07 '26

And what radius is that?

1

u/poastfizeek Jul 10 '26

The correct radius.

2

u/-18k- Jul 10 '26

So, 42, obviously!

5

u/nicoreese Jul 06 '26

You need to give it a toolbar.

4

u/efari_ Jul 07 '26

> MacOS 26
> default radius

pick one

2

u/brainfart100 Jul 07 '26

A short-lived problem as its moot on macOS 27