Apply border to UIBarButtonItem in ios7

I saw UIBarButtonItem, UIButtons borderless in ios7. But I want to have a UIBarButtonItem view, for example, in <= ios6.At the same time, I can’t apply a specific backgroundimage, because the hue of the navigation bar changes from a certain set of views to other views. How to set borderstyle to [UIBarButtonItem appearance]maybe using some properties CALayeror so ..?

Any help would be appreciated.

+4
source share
1 answer

One way to do this - to create UIBarButtonItemwith UIButtonrounded corners.

+1
source

All Articles