Cross-posting this solution: https://developer.apple.com/forums/thread/79117?login=true.
I tried it and it worked fine. It also gives you a bit of an insight into the navigation bar's view hierarchy; fun stuff.
Post
Replies
Boosts
Views
Activity
Replying to "Apple Designer" - What are the technical differences here? Should Catalyst be used if our apps need to support Intel-based Macs?