iOS 11 prefersLargeTitles not updating until scroll

前端 未结 24 2398
轻奢々
轻奢々 2021-01-31 07:25

I implemented a basic UIViewController with a UITableView that\'s wrapped in a UINavigationController. I set prefersLargeTitles to true:

override fu         


        
24条回答
  •  猫巷女王i
    2021-01-31 08:27

    I had the same issue (iOS 14, Xcode 12.2).

    It only affected navigation controllers displaying table views.

    I had originally set tableView.tableFooterView = UIView() to get rid of extra separators after the last cell. Setting the footer view to nil fixed the scrolled-up navigation title.

提交回复
热议问题