24

When i try to add a button to a navigation bar, i got this warning:

unsupported configuration plain style unsupported in a navigation item

Concerning the Plain style, i don't find it in interface builder since i moved to Xcode4.2.

EDIT: @Michael: here is what Xcode look like for me: enter image description here

I have not the arrow to the left, is there any thing missing there?

Malloc
  • 15,434
  • 34
  • 105
  • 192

2 Answers2

44

Is the button you added a "Bar Button Item"?

Bar Button Item

Michael Robinson
  • 29,278
  • 12
  • 104
  • 130
6
  1. go to the navigation item
  2. select the navigation Bar button
  3. just change the bar button item in attribute inspector

    style - bordered
    

    and then run the program warning is not showing

yogesh yadav
  • 111
  • 1
  • 3
  • I had a UIView instead of a barbutton and just had to change it to bordered and it worked. Thank you. – mihai Oct 22 '14 at 06:19