PagedScrollView icon indicating copy to clipboard operation
PagedScrollView copied to clipboard

How to fix It : High CPU Usage Up to 100%

Open githubleez opened this issue 10 years ago • 3 comments

This problem occurs when autosildescrollview running for a time and try swipe. It slowly!! Then I check cpu report I found high CPU usage.

githubleez avatar May 22 '15 05:05 githubleez

Is It solved?

valentina00 avatar Jun 26 '16 00:06 valentina00

Did you use init function in viewDidLayoutSubviews or viewWillLayoutSubviews? If so, use viewDidAppear instead of viewDidLayoutSubviews or viewWillLayoutSubviews

mrshih avatar Jul 25 '16 14:07 mrshih

Thank you very much for reply!

------------------ 原始邮件 ------------------ 发件人: "Andy Shih";[email protected]; 发送时间: 2016年7月25日(星期一) 晚上10:00 收件人: "iOSNerd/PagedScrollView"[email protected]; 抄送: "范玲玲"[email protected]; "Comment"[email protected]; 主题: Re: [iOSNerd/PagedScrollView] How to fix It : High CPU Usage Up to100% (#4)

Did you use init function in viewDidLayoutSubviews or viewWillLayoutSubviews? If so, use viewDidAppear instead of viewDidLayoutSubviews or viewWillLayoutSubviews

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

valentina00 avatar Jul 26 '16 01:07 valentina00