Is anyway to adjust navigationbartitle's position to be higher?

chapter 11 List & Navigation
Page 567

in the picture
.navigationBarTitle(Text(“Mountain Airport”))

I feel this title’s position a little low in the simulator , is anyway to adjust this title to be be closer to top in the code ?

@yangwulong1978 The first thing to check is to make sure you haven’t wrapped more than one NavigationView around the view as that can make the title look low in the simulator. This usually comes in having a navigation view around more than one view in the stack.

Otherwise, SwiftUI doesn’t yet provide a lot of customization options for the navigation title area. You can change back to the older style by using the displayMode modifier like this:

.navigationBarTitle("Mountain Airport", displayMode: .inline)