When my view controllers seems, massive navigation title is showing. However once I scroll, then small navigation title isn’t showing. I’m going through this concern in iOS 26 solely. In older iOS variations, navigation title is working as anticipated.
- Tableview’s high constraint is about to the UIViewController’s View’s high anchor (Superview).
- I additionally tried
navigationController?.navigationBar.prefersLargeTitles = trueand
navigationItem.largeTitleDisplayMode = .automated, nevertheless it did not labored
My code:
override func viewDidLoad() {
tremendous.viewDidLoad()
self.navigationItem.title = NSLocalizedString("profile", remark: "Profile")
let editButton = UIBarButtonItem(barButtonSystemItem: .edit, goal: self, motion: #selector(editButtonTapped))
navigationItem.rightBarButtonItem = editButton
tableViewProfile.estimatedRowHeight = UITableView.automaticDimension
tableViewProfile.rowHeight = UITableView.automaticDimension
}

