How to fix It : High CPU Usage Up to 100%
This problem occurs when autosildescrollview running for a time and try swipe. It slowly!! Then I check cpu report I found high CPU usage.
Is It solved?
Did you use init function in viewDidLayoutSubviews or viewWillLayoutSubviews?
If so, use viewDidAppear instead of viewDidLayoutSubviews or viewWillLayoutSubviews
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.