How do you change color/image on the default backBarButtonItem?

前端 未结 2 1776
被撕碎了的回忆
被撕碎了的回忆 2021-01-16 06:15

I need to change color on the default \"self.navigationItem.backBarButtonItem\". To accomplish this I´ve created an custom Button class and implemented it like this:

2条回答
  •  自闭症患者
    2021-01-16 06:44

    Ok found the solution (not so good but it works) do this: 1: Implement the button from this tutorial: www.switchonthecode.com

    This will override the default behavior of navigationbar.

    2: Implement this in every view that needs the custom button: osmorphis.blogspot.com

    BR

提交回复
热议问题