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

QMUIToastContentView,appearance设置textLabelAttributes 、detailTextLabelAttributes失效 #358

Closed
dreamCC opened this issue Jun 26, 2018 · 2 comments

Comments

Projects
None yet
3 participants
@dreamCC
Copy link

commented Jun 26, 2018

请填写运行环境

  • 设备:iPhone /模拟器
  • 系统:iOS 11.4
  • Xcode 版本:9.4.1
  • QMUI iOS 版本:2.7.1

QMUIToastContentView,通过appearance来设置textLabelAttributes和detailTextLabelAttributes属性失效。其主要原因是:-tintColorDidChange方法中,对这两个属性进行了重新赋值,理论上逻辑没有问题。但是在QMUIToastView的- commonInit方法中,调用self.tintColor = UIColorWhite; 导致子控件-tintColorDidChange方法的调用,最后导致appearance来设置这两个属性不起作用。

@zhoon

This comment has been minimized.

Copy link
Collaborator

commented Jul 5, 2018

我们改改

@MoLice

This comment has been minimized.

Copy link
Collaborator

commented Jul 5, 2018

2.7.2 已修复这个问题。

@MoLice MoLice closed this Jul 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.