[SWIFT] It was the Title of NavigationItem instead of the header of TableView

iOS standard memo app, messaging app, etc. I was addicted to the movement that is displayed in the Title of NavigationItem when the TableView's HeaderView-like scrolls, because I thought that I would touch the TableView's HeaderView. NavigationTitle.gif

Implementation procedure

--Check ** Prefers Large Titles ** in Navigation Bar --Enter a title in Title of Navigation Item --Large Title of Navigation Item is changed to ** Automatic **.

that's all! !! It was a moment.

Reference article https://qiita.com/mcz9mm/items/cd005814550087c7c707

Recommended Posts

It was the Title of NavigationItem instead of the header of TableView
The basics of Swift's TableView
Transition using the header image of CardView as it is
Try using || instead of the ternary operator