.navigationTitle behaves differently on macOS and iOS. Any reference to this?

I noticed that .navigationTitle() behaves differently in iOS and macOS. But couldn't find a reference to this anywhere. On iOS I have to put it on the NavigationViews content but on macOS I have to put it directly on NavigationView for it to show up. I suppose I can make the code platform dependent but it is rather ugly. Am I doing something wrong? Has anyone else come across this?

.navigationTitle behaves differently on macOS and iOS. Any reference to this?
 
 
Q