Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

返回按钮修改 #1

Closed
dd9913762113 opened this issue Feb 17, 2022 · 1 comment
Closed

返回按钮修改 #1

dd9913762113 opened this issue Feb 17, 2022 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@dd9913762113
Copy link

var backImage: UIImage? = nil
除了这种方法,还有没有更简单的,一次性弄好的 返回按钮图片
self.navigationItem.leftBarButtonItem = UIBarButtonItem(image: UIImage(named: "top_back"), style: .plain, target: self, action: #selector(back))

返回按钮图片修改后,这个tintColor 会变色
UINavigationBar.appearance().tintColor = .none

@xiaoyouPrince
Copy link
Owner

xiaoyouPrince commented Feb 25, 2022 via email

@xiaoyouPrince xiaoyouPrince added the help wanted Extra attention is needed label Feb 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants