Top "Uinavigationitem" questions

on iOS, the UINavigationItem class encapsulates information about a navigation item pushed on a UINavigationBar object’s stack

UINavigationItem centering the title

I have a navigationBar with both Left and Right bar buttons on each side. I have a customTitlelabel which I …

iphone ios uinavigationcontroller uinavigationitem
UINavigationItem titleView position

I'm using UINavigationItem's titleView property to set a custom UILabel with my desired font size/color. Here's my code: self.…

iphone objective-c cocoa-touch ipad uinavigationitem
Add subtitle under the title in navigation bar controller in Xcode

So I'm wanting to add a "subtitle" under the title in the navigation bar in navigation controller. Mostly everything I …

swift uinavigationcontroller uinavigationbar uinavigationitem
Show search bar in navigation bar without scrolling on iOS 11

I’m attaching a UISearchController to the navigationItem.searchController property of a UITableViewController on iOS 11. This works fine: I can …

ios uinavigationitem uisearchcontroller
How do I obtain the height of UINavigationBar.navigationItem programmatically?

I am creating a custom UIToolbar to use as a UIView in the UINavigationBar.navigationitem.titleView property. I would like …

ios uinavigationitem
Navigation Item not appearing on View Controller

I apologize I am new to iphone programming. I have created a Master-Detail Iphone application (so Navigation Controller came with …

iphone ios uiviewcontroller uinavigationcontroller uinavigationitem
Placing a custom view based UIBarButtonItem in the navigation bar without default horizontal padding

How do I remove the horizontal padding to the left and right of custom left and right UINavigationBar items? There …

iphone ios uinavigationbar uibarbuttonitem uinavigationitem
Bar button item not shown in navigationBar

I'm working on an app where my initial view controller is embedded in a Navigation Controller and Tab bar controller. …

ios swift uinavigationbar uinavigationitem
Configuring the backBarButtonItem of a View Controller's Navigation Item in a Storyboard

It's easy enough to drag and drop bar button items onto a view controller's navigation bar in a storyboard in …

interface-builder uibarbuttonitem uinavigationitem uistoryboard
How to properly position the back button in iOS7

I used this code to use a custom image as the back button in the whole app. [[UINavigationBar appearance] setBackIndicatorImage:[…

objective-c ios7 uinavigationbar uinavigationitem