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
  • 314,917
  • 42
  • 532
  • 579
VARUN ISAC
  • 443
  • 3
  • 13

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
  • 515,959
  • 87
  • 875
  • 1,141