Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I got warning which I couldn't understand

Tags:

iphone

sdk

When I compiled my app I got this warning and I couldn't understand it.

/Users/imac/Desktop/MyApp/RechercherView.xib:44:0 This bar button item's style is set to 'plain'. This configuration is not supported when in a navigation item.
like image 953
Malloc Avatar asked Apr 10 '11 13:04

Malloc


1 Answers

Plain is for when a bar button item is on a tab bar, it means there is no border at all and you just see the item. This is not supported on a nav bar and they must be bordered. If you wish to get the appearance of an item without a border, you should make your own custom UIButton to put up there

like image 119
coneybeare Avatar answered Nov 10 '22 00:11

coneybeare