xcode add a button to my storyboard navigation item? -
this question has answer here:
i have in storyboard:
i add new button next 'community button'
but when try add new button bar item, replaces button there. how this?
and when try add 'button' not let me add bar button item - item:
i don't know how using storyboard can done in code follows.
in viewdidload method of completionvc following:
- create uibarbuttonitem community
- create uibarbuttonitem add
add buttons navigationitem using:
self.navigationitem.rightbarbuttonitems = [nsarray arraywithitems:community, add, nil];
Comments
Post a Comment