美文网首页
iOS性能监测Instruments的使用

iOS性能监测Instruments的使用

作者: 朵朵刺刺 | 来源:发表于2017-02-27 10:09 被阅读107次

iOS性能监测Instruments的使用

1.启动程序点击Show the  Debug navigator ->Memory ->Profile in instruments ->Transfer

这样instruments的Leak就运行起来。检测内存泄露需要我们操作app

出现红叉的时候 说明有内存泄露 点击红叉

选择Call Tree 在勾选

Invert Call Tree和Hide System Libraries后双击内存泄露的位置就可以修改代码了

相关文章

网友评论

      本文标题:iOS性能监测Instruments的使用

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