Add multiple buttons to navigation bar in storyboard
There a way to add a view to navigationItem. Than add buttons or labels you need to the view.
Can use below code :
UIBarButtonItem *btnShare = [[UIBarButtonItem alloc] initWithCustomView:self.backbtn];UIBarButtonItem *btnRefresh = [[UIBarButtonItem alloc] initWithCustomView:self.testbutton2]; [self.navigationItem setLeftBarButtonItems:[NSArray arrayWithObjects:btnShare,btnRefresh, nil]];
1 -> Drag and drop Bar Button Item in navigation bar and in latest xcode you can direclty place more than one items in navigation bar either on left or right side