The add button is below the navigation panel

Viewed 30

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
0 Answers
Related