I would like to have two rightBarButtonItems on navigation bar. One for Edit and the other for Add.
Obviously I can\'t make it using Interface Builder.
Does anyb
Here's the really easy, 2 line answer:
Step 1: Create a nib for the custom view w/ whatever content you want
Step 2: Add the nib to the toolbar as a custom view:
NSArray *subviewArray = [[NSBundle mainBundle] loadNibNamed:@"TwoButtonView" owner:self options:nil];
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithCustomView:[subviewArray objectAtIndex:0]];