IOS 开发学习二十一 instruments使用 quick start
推荐:使用Xcode和Instruments调试解决iOS内存泄露
转自 http://fei263.blog.163.com/blog/static/92793724201211405843914/ 虽然iOS 5.0版本之后加入了ARC机制,由于相互引用关系比较复杂时,内存泄露还是可能存
2018阿里云全部产品优惠券(新购或升级都可以使用,强烈推荐)
领取地址:https://promotion.aliyun.com/ntms/act/ambassador/sharetouser.html?userCode=gh9qh5ki&utm_source=gh9qh5ki
官方网址:
https://developer.apple.com/library/ios/documentation/DeveloperTools/Conceptual/InstrumentsUserGuide/Introduction/Introduction.html
中文PDF文档:
http://cdn.cocimg.com/bbs/attachment/Fid_6/6_24457_90eabb4ed5b3863.pdf
简介
iOS下的重要的内存调试工具
使用
启动Instruments
也可以在编译时候打开Instruments,或者直接从Finder里找到程序图标打开。
获取数据示例:
1.打开Instruments
2.选择一个目标设备和App(从xcode里打开不需要这一步骤)
3.选择一个跟踪模板
我选择Time Profiler
4.收集信息
点击红色圆图标,开始收集信息。收集结束的时候,点击停止。
5.测试收集的信息
相关阅读排行
- 1iOS 解决UITabBarItem选中图片默认为蓝色的方法
- 2Objective-C 编程语言(1) 简介
- 3iOS调用系统日历
- 4IOS中全局变量与AppDelegate.h /.m 文件
- 5MKNetworkKit uses features only available in iOS SDK 4.0 and later报错解决方案
用户评论

游客