0

Can someone help me with how I could inline the add button with the navigation panel? Its shown below the panel.

This is the code I used:

let add = UIBarButtonItem(barButtonSystemItem: .add, target: self, action: nil)

        self.navigationItem.rightBarButtonItem = add
  • Set `self.navigationController?.navigationBar.prefersLargeTitles = false` – Nirav D Sep 23 '22 at 16:15
  • I tried ```self.navigationController?.navigationBar.prefersLargeTitles = false``` but the display is still the same. The add button is still underneath – shivam nanda Sep 23 '22 at 16:27

0 Answers0