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

Different Charts-Swifg.h when simulator and iphone #2720

Closed
renjiale1214 opened this issue Aug 15, 2017 · 3 comments
Closed

Different Charts-Swifg.h when simulator and iphone #2720

renjiale1214 opened this issue Aug 15, 2017 · 3 comments

Comments

@renjiale1214
Copy link

There is a issue about a method -(void)calcMinmax, I used it when running on simulator what's called by @Class CombineChartView, but when i want to run on my iphone,
it have an error told me that"No visible @interface for 'CombinedChartView' declares the selector 'calcMinmax' "
I found that there have diffrent "Charts-Swift.h" project between
"Debug-iphoneos/Charts/Charts.framework/Headers" and
"Debug-iphonesimulator/Charts/Charts.framework/Headers"

so, is there anyway to solve this?

@renjiale1214
Copy link
Author

@liuxuan30 Please help me, 大神

@renjiale1214
Copy link
Author

well, i found another method "notifyDataSetChanged" can solve this problem,is it correct way to calculate when zooming?

@liuxuan30
Copy link
Member

notifyDataSetChanged is needed when you changed your data.
Based on your first question, I think you need to clean and rebuild... also it's calcMinMax

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