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

同时设置isGradientShow和barColorGradientStart时会崩溃 #444

Open
ningking opened this issue Aug 9, 2018 · 0 comments
Open

同时设置isGradientShow和barColorGradientStart时会崩溃 #444

ningking opened this issue Aug 9, 2018 · 0 comments

Comments

@ningking
Copy link

ningking commented Aug 9, 2018

设置isGradientShow为YES时,同时设置barColorGradientStart颜色时会崩溃。主要问题在barColorGradientStart的setter方法代码:
for (CALayer *sublayer in [_chartLine sublayers]) {
[sublayer removeFromSuperlayer];
}

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

1 participant