The rightmost Bar Button Item in UIToolBar in objective-C
Questions tagged [rightbarbuttonitem]
112 questions
1
vote
2 answers
Add RightButtonItem to navigation bar when displaying tabbarcontroller views
In my application I have tabbarcontroller that is not the first viewcontroller. It will open form a navigationcontroller.(by pushing it to stack from its parent)
Now I want to add a rightbarbuttonitem to the navigationbar of this view. I am using…

Husein Behboudi Rad
- 5,434
- 11
- 57
- 115
1
vote
1 answer
rightBarButtonItems will not fit after user performs partial scroll in UIPageViewController
I basically have a Master-Detail style app that uses a PageViewController in the DetailViewController. The PageViewController has three different scenes. Depending on the current scene I am setting different rightBarButtonItems in each of the…

Ben
- 967
- 3
- 9
- 23
1
vote
0 answers
SKStoreProductViewController title and right nav bar button in iOS7
I used SKStoreProductViewController to open App Store in my own app. This is the part of my implementation.
NLStoreProductViewController *storeController = [[NLStoreProductViewController alloc] init];
[storeController…

Yoon
- 21
- 4
1
vote
4 answers
Change the color of a bar button in iOS 7
I have the following code in my viewDidLoad of my containing view:
// Now add the next button
UIBarButtonItem *nextButton = [[UIBarButtonItem alloc] initWithTitle:@"Next" style:UIBarButtonItemStylePlain target:self…

cdub
- 24,555
- 57
- 174
- 303
1
vote
1 answer
How to add more than one UIBarButtonItem to rightBarButtonItem in ios7?
I have an existing code which was working fine in ios6. but in ios7 left most item("refresh button") is not showing align to other two UIBarButtonItem . its showing little down. here is the code for iOS6. what changes do i need to make this working…

bhargava
- 49
- 1
- 5
1
vote
1 answer
navigationItem not showing
I am currently writing an iOS-APP based on mostly UITableViewControllers. The hierarchy is the following:
AppDelegate -> UINavigationController -> UITableViewController [A]
-(didSelectRow: presentModalVC)-> UITabBarController -(contains…

agrafix
- 765
- 1
- 5
- 15
1
vote
2 answers
ios actionsheet from bar button not dismissing when i tap on navigation bar
I have an actionsheet that is created from an UIBarButtonItem.
The bar button item programmaticly added when a view controller that is in a tab bar controller that is in a nav controller is show
- navigation controller
-tab bar controller
…

the-a-train
- 1,123
- 13
- 32
1
vote
2 answers
Can't get to custom rightBarButtonItem
I've got two viewControllers who each need a login button in the top right corner of the navigation bar.
In viewController1#viewDidLoad, I set up the rightBarButtonItem like so (abbreviated):
// set up the login button on the right
UIButton…

djibouti33
- 12,102
- 9
- 83
- 116
1
vote
1 answer
rightbarbuttomitem is out of bounds when I change orientation in splitviewcontroller
I have a SplitViewController, with a rightbarbuttonitem on navigation that its'n resizing when I change the orientation from portrait to Landscape, my rightbarbuttonitem is out of bounds
The rightbarbuttomitem is a customview (blue color…

mcalleja
- 51
- 4
0
votes
2 answers
iPhone: Setting navigationItem button's width property
I have been trying to get around setting navigationitem button's width property but couldn't find a way to get it done what exactly I am looking for.
Following code works fine setting button size what I want and appear nicely but I don't see…

Paresh Masani
- 7,474
- 12
- 73
- 139
0
votes
2 answers
UINavigationBar troubles
In my app, i'm using a custom UINavigationBar and custom UIBarButtonItems in a NavigationController. My (custom) NavigationBar looks fine, but when I want to place my own backBarButtonItem and RightBarButtonItem, it goes wrong.
Installing my own…

Jelle
- 284
- 3
- 13
0
votes
1 answer
How to access or call an action in to a function
I have the right navigation bar button action,I have set an action for it like the following:
-(IBAction)save:(id)sender
{
//Code for saving entered data
UITextField *fieldOne = [self.fields objectAtIndex:0];
UITextField *fieldTwo =…

Eshwar Chaitanya
- 942
- 2
- 13
- 34
0
votes
1 answer
Navigation Bar Button Item Alignment Issue
I'm building a netflix clone. In configuring the nav bar, I keep running into an odd error that I can't seem to find a solution for anywhere: I want my nav bar to contain a "leftBarButtonItem" that houses a UIImage of the Netflix logo w a…

Noah Pope
- 1
- 2
0
votes
0 answers
The add button is below the navigation panel
Can someone help me with how I could inline the add button with the navigation panel? Its shown below the panel.
This is the code I used:
let add = UIBarButtonItem(barButtonSystemItem: .add, target: self, action: nil)
…

shivam nanda
- 29
- 3
0
votes
1 answer
rightbarbutton disappear on tabbar application / ipad
I've a problem ... and for the moment don't know how work it out...
The application has a tabbar view, all the ViewController on the TabBar has the same structure, with a leftBarButton with back action and with a rightBarButton with an specific…

Iván Peralta
- 851
- 1
- 9
- 25