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

性能问题 #6

Closed
wangxumin opened this issue Mar 24, 2018 · 2 comments
Closed

性能问题 #6

wangxumin opened this issue Mar 24, 2018 · 2 comments

Comments

@wangxumin
Copy link

你这有很大的性能问题,我是在点击cell的时候初始换显示,滑动tableView的时候隐藏menu,界面就非常卡顿,CPU消耗在90%以上

@GIKICoder
Copy link
Owner

你可以贴一下代码么.我测试了一下. 没看到内存暴涨的情况. menuview 会实时释放的... menuContainer.全局持有一个实例. 不过也不会占用太多内存.

@wangxumin
Copy link
Author

wangxumin commented Mar 26, 2018

@GIKICoder 加了个判断好了 if ([GMenuController sharedMenuController].isMenuVisible) {
[[GMenuController sharedMenuController] setMenuVisible:NO];
} ,之前没加判断就是有问题

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