The style of an iOS UIBarButtonItem that can be added to a UINavigationBar or a UIToolBar. Possible values are UIBarButtonItemStyleBordered, UIBarButtonItemStylePlain, or UIBarButtonItemStyleDone.
Questions tagged [uibarbuttonitemstyle]
46 questions
0
votes
2 answers
UIBarButtonItem Tittle text alignment
I'm using UIBarButtonItem title part for a Clock. Every time the second changes the clock moves slightly left/right depending on the size of the character for the seconds part.
Is it possible to align the title text left or in some way so that the…
user13332990
0
votes
2 answers
iphone: add UIBarButtonItem to UIViewController's UINavigationItem.leftBarButtonItem - weak?
I use in my application a tabbar controller and under the first tab is a navigationcontroller.
The rootview of the navigation controller stack shows a searchbar to the user, where he can input text. after finishing with his input, the user starts…

dac
- 73
- 1
- 1
- 4
0
votes
2 answers
Adding a favourite love icon as a Bar Button Item at Navigation Bar, trigger to different appearance when clicked
How do I add a heart icon at Rightside of Navigation Bar? Is it by adding a 48x48px png heart icon as Bar Button Item the correct way?
I wish to change the appearance of the heart icon when user click on it. Switch between favourite and…

Hanz Cheah
- 761
- 5
- 15
- 44
0
votes
1 answer
Change the right BarButtonItem of a manually added UINavigationBar?
I have a UINavigationBarthat I have manually dragged and added to a ViewController in my storyboard. Within that NavigationBar I have dragged and added a "UIBarButtonItem" styled as the default "Add" image.
The view is pushed modally, so it does not…

TestinginProd
- 1,085
- 1
- 15
- 35
0
votes
2 answers
how can I set the tint color of right UIBarButtonItem in Swift?
I'm adding a right bar button to my navigation controller with the following code in viewDidLoad:
var b = UIBarButtonItem(
image: UIImage(named: "settings"),
style: .plain,
target: self,
action:…

user3766930
- 5,629
- 10
- 51
- 104
0
votes
1 answer
iOS stock Location icon or UIButton/UIBarButtonItem style?
Does iOS come with a stock "location" icon or UIButton/UIBarButtonItem style?
I'd rather not have to include a separate png just for this... So I'd like to know if there's a stock "location" UIButton/UIBarButtonItem style, similar to the stock…

Sakiboy
- 7,252
- 7
- 52
- 69
0
votes
3 answers
How to set the button created in the navigation bar as custom in iphone?
I am new to iphone development.I have created a UIBarButtonItem on the navigation bar.I want to set the proper to custom. There is no property as custom for "style:" attribute.Please help me out.Thanks.
leftbutton = [[UIBarButtonItem alloc]…

Warrior
- 39,156
- 44
- 139
- 214
0
votes
1 answer
UIBarButtonItem with style UIBarButtonItemStylePlain and with both text and image
I'm trying to generate an UIBarButtonItem with style:UIBarButtonItemStlyePlain, and also with both text and image.
The best solutions I found in this site (this one for example) didn't let me set the style as Plain. In fact, this solution only makes…

FabKremer
- 2,149
- 2
- 17
- 29
0
votes
2 answers
Toggle visibility of UIBarButton
I have created a application which has a view, tableview and a text view, I have setup my application in a way that when a user click on button log in view it takes them to tableview and clicking on a cell in table view takes them to textview. I…

Francis F
- 3,157
- 3
- 41
- 79
0
votes
1 answer
Refresh data in table view in a view controller that contains multiple table views
I want to add a refresh bar button in my view controller
UIBarButtonItem *refreshButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemRefresh target:self…

CarinaM
- 527
- 4
- 12
- 27
0
votes
3 answers
refresh the table in view controller by using refresh bar button
I want to add a refresh bar button in my view controller
I put in the viewdidload() this code:
UIBarButtonItem *refreshButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemRefresh target:self…

CarinaM
- 527
- 4
- 12
- 27
0
votes
5 answers
Custom background for default system items
i want to use the default bar button items like
UIBarButtonItem *editFavoritesButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemEdit target:self action:@selector(startEndEditing:)];
The problem is that i want to…

Ilker Baltaci
- 11,644
- 6
- 63
- 79
0
votes
1 answer
iOS, how to make a custom uibarbuttonitem with no-border, no-span with each other? like this picture?
iOS, how to make a custom uibarbuttonitem with no-border, no-span with each other?
like this picture?
I do not know how to name this style. all these buttons are on the UIToolBar component.
thank you very much.

meadlai
- 895
- 1
- 9
- 22
0
votes
2 answers
How can i assign an action to rightbarbuttonitem with an edit style?
I have an edit rightbarbuttonitem in my view in navigation bar. I set it up with the help of storyboard/IB, not programmatically. Now, all i want is to assign an action when the "done" barbuttonitem is pressed (not edit).
Is there a way to achieve…

Monis Manzoor
- 183
- 3
- 14
0
votes
1 answer
Unwanted Edit button in my navigation bar?
I've got the following code in my app to display a modal view:
InfoTableViewController *infoTableViewController = [[[InfoTableViewController alloc] initWithNibName:nil bundle:nil] autorelease];
infoTableViewController.title =…

Sean R
- 1,519
- 2
- 13
- 16