How can I make the text of a UIBarButtonItem wrap to two lines?


Some of the titles of view controllers in my UINavigationController are quite long, which makes the back button in the navigation bar of the next view controller in the hierarchy miss out some of the text, with a "..." instead.

How could I make the text of the back button wrap onto two lines, as with "Now Playing" in the navigation bar of iPod.app?



You could use the UIBarButtonItem method initWithCustomView: then set the rightBarButtonItem property in UINavigatiobItem.


  • How do I work with DriveApi.MetadataBufferResult?
  • how to load a file from folder to memory stream buffer
  • How to use a save file dialog from a servlet?
  • Mediawiki API error: Unrecognized value for parameter 'prop': extracts
  • Dendrogram or Other Plot from Distance Matrix
  • NHibernate Component inheritance
  • Unit test express route calls controller method?
  • Can't figure out a function to return a reference to a given type stored in RefCell
  • Play 2.0.4 file upload. NullPointerException: null
  • When interface inheritance in Java is useful?
  • How to set the navigation bar to the top in Table View?
  • Base Internationalization and “Could not find a storyboard named […]”
  • Rails XML builder not rendering
  • jQueryMobile, Ajax Navigation, and MVC
  • Slicing an SPA into several components and use AngularJS
  • Content-Length header not returned from Pylons response
  • Sencha Touch 2.0 Controller refs attribute not working?
  • Play WS (2.2.1): post/put large request
  • Android fill_parent issue
  • Change multiple background-images with jQuery
  • How to access EntityManager inside Entity class in EJB3
  • Align navbar back button on right side
  • Window Size for Mac application
  • MySQL WHERE-condition in procedure ignored
  • How to apply VCL Styles to DLL-based forms in Inno Setup?
  • vba code to select only visible cells in specific column except heading
  • jquery mobile loadPage not working
  • Web-crawler for facebook in python
  • Properly structure and highlight a GtkPopoverMenu using PyGObject
  • bootstrap to use multiple ng-app
  • VB.net deserialize, JSON Conversion from type 'Dictionary(Of String,Object)' to type '
  • Cannot Parse HTML Data Using Android / JSOUP
  • trying to dynamically update Highchart column chart but series undefined
  • How can I get HTML syntax highlighting in my editor for CakePHP?
  • How get height of the a view with gone visibility and height defined as wrap_content in xml?
  • Getting Messege Twice Using IMvxMessenger
  • Binding checkboxes to object values in AngularJs
  • java string with new operator and a literal
  • How to push additional view controllers onto NavigationController but keep the TabBar?
  • How to load view controller without button in storyboard?