Removing Add and Delete Buttons in Master Detail Template

Where would I find the code to remove the “Add” and “Delete” button and all related code within the Master Detail App Template? All information will be hard coded. Thanks

What do you mean with Master Detail App Template ? Where do you find the code ?


Here is how to do it for a navigation bar :

In the viewController where you want to remove the button :


    override func viewDidLoad() {
        super.viewDidLoad()

        self.navigationItem.setHidesBackButton(true, animated:true)
          // Or : self.navigationItem.hidesBackButton = true
    }

Credit to h ttps://freakycoder.com/ios-notes-23-how-to-hide-back-button-on-navigationbar-17fb5dfb2b8


Did you add the "add" and "delete" buttons programmatically?

Where are those buttons located ?

Removing Add and Delete Buttons in Master Detail Template
 
 
Q