We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我这边集成了echarts库之后,使用了地图模块的一个类型进行展示,但是这个控件加入到页面之后,内存狂飙100M左右,时间久了之后就会造成手机发烫。我run了一下demo发现demo中加载地图之后内存也是从50M升到了150M左右,并且加载地图数据,稍微有些慢,不知道作者有没有说相对简化的模式可供选择,或者进行一下内存优化。
The text was updated successfully, but these errors were encountered:
有解决方案了吗?
Sorry, something went wrong.
算是一种妥协方案,用WKEchartsView替换之前的类型 @Property (strong, nonatomic) WKEchartsView *yEchartView;
把类型改为WKEchartsView之后,APP内存会得到很大的节制,但是即使地图在webView中运行还是在耗费系统的资源,停留在当前页面时间久也会造成发热的现象,虽然在Xcode中已经监测不到内存飙升的情况了,但是实际上还有很大的系统资源消耗。
好的,多谢~
No branches or pull requests
我这边集成了echarts库之后,使用了地图模块的一个类型进行展示,但是这个控件加入到页面之后,内存狂飙100M左右,时间久了之后就会造成手机发烫。我run了一下demo发现demo中加载地图之后内存也是从50M升到了150M左右,并且加载地图数据,稍微有些慢,不知道作者有没有说相对简化的模式可供选择,或者进行一下内存优化。
The text was updated successfully, but these errors were encountered: