search

Home  >  Q&A  >  body text

objective-c - iOS 开发中 CPU占用率高的原因大概有什么?

开发iOS 结果一个页面的CPU占用率相当高

滿天的星座滿天的星座2764 days ago792

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-05-02 09:30:42

    To put it simply, the CPU has been doing a lot of work. Any infinite loop can cause the CPU to reach 99%. It is speculated that the logic of some methods is not handled properly. It is recommended to use the real machine + Instruments to check which method/function is causing the problem. Detailed explanation of excessive CPU

    reply
    0
  • Cancelreply