Currently, my iOS (6) application uses the Master-Detail view template, with some list elements being pre-populated. Users currently have the option to ‘Edit’ and add to (‘+’) the list. Is there a way of removing these buttons, to prevent the original list being changed?
Currently, my iOS (6) application uses the Master-Detail view template, with some list elements
Share
Yes there is an easy way.
Find this code in
MasterViewController.mand remove these linesself.navigationItem.leftBarButtonItem = self.editButtonItem;,self.navigationItem.rightBarButtonItem = addButton;