美文网首页
2019-01-30

2019-01-30

作者: 笨__小孩 | 来源:发表于2019-01-30 14:50 被阅读0次

App瘦身、性能优化总结

查看离屏渲染
1、模拟器
Debug → Color Off-screen Rendered
2、真机
(1)、Xcode9.2之前:Instruments → Core Animation → Debug Options → Color Offscreen-Rendered Yellow
(2)、Xcode9.3之后:Xcode → Debug → View Debugging → Rendering → Color Offscreen-Rendered Yellow
开启调试,有离屏渲染的图层会变成高亮的黄色。

相关文章

网友评论

      本文标题:2019-01-30

      本文链接:https://www.haomeiwen.com/subject/quccsqtx.html