I added the UINavigationBar
with a large title in it. After that, I added a UITableView
to this UIViewController
. I gave the large title content mode to .always
. But when I scroll the UITableView it hides and showed in the top of the
UINavigationBar`
navigationController?.navigationBar.prefersLargeTitles = true
self.navigationItem.largeTitleDisplayMode = .always
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.