How can I add the “Now Playing” button in iOS7 in the UINavigationBar?

I would like to add the "Now Playing" button in the UINavigationBar application in the style of iOS7 Music app

The button should have:

  • two lines of text
  • right index chevron

How can this be achieved?

example

+4
source share
1 answer

You probably need an image for a chevron. If this suits you, you can create a UIButton with the appropriate headers and images and go to the method initWithCustomView:. Note: you also need to set numberOfLines = 2for this button, as far as I know, you cannot do in IB

+2
source

All Articles