iPhone : making UIBarButtonItem that is arrow shaped

前端 未结 6 1692
抹茶落季
抹茶落季 2020-12-07 23:36

I have a UIBarButtonItem on a navigation bar. I\'d like to make it arrow shaped. By that I mean I want it to be square except for a pointy side. Does anyone know how to do t

6条回答
  •  情话喂你
    2020-12-08 00:18

    continuing on @Plamen Dragozov's idea: i noticed if you leave the uibutton as is, it would trigger a picture adjustment when touched and that is quite the opposite what a normal navigation back button does. So what I did was to uncheck "highlighted adjusts Image" and it works like a charm.

    hope this helps newbies like me.

提交回复
热议问题