Questions tagged [uibuttonbaritem]

UIBarButtonItem is a button specialized for placement on a UIToolbar or UINavigationBar object. It is inherited fromits abstract superclass, UIBarItem of Apple's UIKit framework. It is available in iOS 2.0 and later.The issues related with UIBarButtonItem question can be tagged with [UIButtonBarItem].

A UIBarButtonItem is an abstract object representing a button or custom view on a UIToolbar and UINavigationItem. The UIBarButtonItem defines additional initialization methods and properties for use on toolbars and navigation bars.

From Apple official documentation:UIBarButtonItem class reference You typically use Interface Builder to create and configure bar button items

SO related Question for reference:

Related tags:

35 questions
0
votes
2 answers

UISegmentedControl in UIButtonBarItem

I have a UISegmentedControl that I want to appear in an UIToolbar. It appears, but clicking it does not call the method that it should. Am I missing anything? Code: -(void)setupToolbars{ NSArray *segItemsArray = [NSArray arrayWithObjects:…
0
votes
1 answer

UIDocumentInteractionController crash with presentOpenInMenuFromBarButtonItem: method

I tried to open a pdf file with the "Open in" menu, but when I create it, the code crash when I call the presentOpenInMenuFromBarButtonItem method UIDocumentInteractionController * controller; controller = [UIDocumentInteractionController…
Anthony
  • 2,801
  • 3
  • 30
  • 49
0
votes
1 answer

how to add a uibuttonitem by calling a method from another class

Due to the neeeds of the aplication I need to call a method from a cell class of a collection view. The method is in a detail view controller which implementes the collection view . If I call the method completely from viewDidLoad of the detail view…
user2046702
  • 52
  • 2
  • 8
0
votes
1 answer

UINavigationBar custom title view on second level

I tried to insert a custom button in the center of UINavigationBar (in titleView). This still works in the first Level, but when I select in this TableView one cell and be pushed to the next controller, I'm not able to insert this button on the…
0
votes
1 answer

how to show value on button of toolbar in objective-c?

I am doing project of bill. there are many bills that i can scroll and each bill have many items with quantity and price. At the button, there are also many buttons on toolbar. Total Price of bill is 1 button among them, and i don't know how to show…
user1584341
1 2
3