HomeiOS Developmentios - iOS26: Small navigation title isn't showing on scroll

ios – iOS26: Small navigation title isn’t showing on scroll


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.

  1. Tableview’s high constraint is about to the UIViewController’s View’s high anchor (Superview).
  2. I additionally tried navigationController?.navigationBar.prefersLargeTitles = true and
    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
    }

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments