Top "Uibarbuttonitem" questions

UIBarButtonItem is a button specialized for placement on a UIToolbar or UINavigationBar object.

Adjust vertical position of UIBarButtonItem title inside UIToolbar

Is it possible to adjust the title of a UIBarButtonItem inside an UIToolbar? I've tried the following lines of code …

swift uibarbuttonitem uitoolbar
Set Action Listener Programmatically in IOS

Hi I have created a button programmatically. I will add this button to the navigation bar. Now I want to …

ios uibutton uibarbuttonitem actionlistener
UIBarButtonItemStyleBordered is deprecated; what should I do, instead?

I'm trying to create a UIBarButtonItem like this: UIBarButtonItem *discardButton = [[UIBarButtonItem alloc] initWithTitle:NSLocalizedString(@"edit-document.button.discard", "Discard Changes button") …

ios uibarbuttonitem deprecated
Customizing UIBarButtonItem "Done" style and "Plain" style separately using UIAppearance

I know how to customize UIBarButtonItem using -setBackgroundImage: forState: barMetrics:, but I would like to use different images for UIBarButtonItemStyleDone …

iphone ios customization uibarbuttonitem uiappearance
iOS 7: What is UIBarButtonItem's default font?

What is the default font of the title of a UIBarButtonItem with a style of UIBarButtonItemStyleDone? The following just returns …

uikit uibarbuttonitem ios7 uifont uibarbuttonitemstyle
UIPopoverController Appears in Wrong Spot

So I've spent some time looking for an answer for this, but so far haven't found anything. I'm trying to …

ios cocoa-touch uipopovercontroller uibarbuttonitem uiinterfaceorientation
Setting a title to a UIToolBar in IOS 7

I have a UIToolBar button declared below: UIToolbar *toolbar = [[UIToolbar alloc] init]; toolbar.frame = CGRectMake(0.0, 0.0, self.view.frame.size.width, 64.0); …

ios ios7 uibarbuttonitem uitoolbar
UIBarButtonItem not clickable on iOS 11 beta 7?

There is another question on SO about this but this has nothing to do with it because I think this …

uibutton uibarbuttonitem ios11 xcode9beta6
How to create a custom mask image for back buttons in iOS7

From the dox: If you want to use a custom image to replace the default chevron, you also need to …

cocoa-touch uibarbuttonitem ios7 mask