You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
doesn't seem like it, any element is rendered behind the window. I tried it with a button that's supposed to open a file dialog, no button visible only it's tab-selector border, as you can see in this image:
^this is my awesome one button app. which as the name suggests is an icon tester, the file dialog, in the previous app, not based on the new window style, would let you select an icns file and it would update itself with that on the fly.... but alas, the button can be selected, but not seen nor clicked.
Activity
PedroCavaleiro commentedon Jun 12, 2020
Did you ever solved this problem? I'm currently having the same issue and I'm not finding how to fix it
thierryH91200 commentedon Jun 12, 2020
not resolved i don't know what to do
DaveFlashNL commentedon Oct 2, 2020
doesn't seem like it, any element is rendered behind the window. I tried it with a button that's supposed to open a file dialog, no button visible only it's tab-selector border, as you can see in this image:

^this is my awesome one button app. which as the name suggests is an icon tester, the file dialog, in the previous app, not based on the new window style, would let you select an icns file and it would update itself with that on the fly.... but alas, the button can be selected, but not seen nor clicked.
iSapozhnik commentedon Aug 18, 2021
I've been checking example 5 (that is what I needed for my app) and indeed whenever I put something on the view controller's view - its not visible.
here is the code I came up with to make ViewController's content visible:
and that's how it looks:

The key here is this line:
window?.contentView?.addSubview(visualEffect, positioned: .below, relativeTo: window?.contentView?.subviews.first)Hopefully that can help you guys solve you problems.