0

I cant create a Bar Button Item with an image after specifying "Title" and "Image Name" . Is it normal? How can i do it ? I am looking to create a button as shown below.

enter image description here

enter image description here

rmaddy
  • 307,833
  • 40
  • 508
  • 550
VARUN ISAC
  • 453
  • 3
  • 12

1 Answers1

0

You will have to provide your own button (could be a UIButton with title and image) and create your button with initWithCustomView:.

You can do this in IB by dragging a UIButton into the UIBarButtonItem (and then configure the UIButton instead of the UIBarButtonItem), or you can do it in code.

matt
  • 485,702
  • 82
  • 818
  • 1,064