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

按钮高亮可以通过重写set方法解决 #1

Closed
devtofu opened this issue Oct 21, 2015 · 2 comments
Closed

按钮高亮可以通过重写set方法解决 #1

devtofu opened this issue Oct 21, 2015 · 2 comments

Comments

@devtofu
Copy link
Contributor

devtofu commented Oct 21, 2015

image

LLTabBarItem.m 中加入以下代码就可以解决

/**
 *  复写系统的高量实现,禁止按钮高亮
 *  此函数里不用写任何代码
 */
- (void)setHighlighted:(BOOL)highlighted{
  // do not anything  
}
@meilbn
Copy link
Contributor

meilbn commented Oct 21, 2015

@devtofu
搜噶,没想到,的确可行!谢谢!

@meilbn meilbn closed this as completed Oct 22, 2015
@meilbn
Copy link
Contributor

meilbn commented Oct 11, 2016

不用重写这个方法也可以: b5f76e8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants