Navigation bar button item image color is different when design through xib of xcode5

前端 未结 6 581
自闭症患者
自闭症患者 2021-02-03 20:46

I am creating navigation bar button using xib but when i going to set image to bar button then image colour is different as original image.

Here is my orignal image.

6条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-03 21:50

    Hopefully I am not too late to add an answer of my own, but within Assets.xcassets, you can click on your image and in the attributes inspector, under Rendar As set it to Original Image

提交回复
热议问题