I am trying to add two right buttons to the navigation bar. I tried adding using following ways but I get SIGABRT
self.navigationController.navigationBar.items = navItemsArray;
self.navigationItem.rightBarButtonItems = navItemsArray;
navItemsArray
has two buttons of type UIBarButtonItem
.
Can anyone help with this? I can't figure out what is wrong.