最后,我能够检查应用程序的性能和实际内存使用情况.使用Instruments.App下Xcode的安装目录/应用/ Instruments.app.
Connect your device to Mac.
1. Launch Instruments. The application automatically creates a new trace document and prompts you to select a template.
2. Select the Activity Monitor template under IOS section and and click the Choose button. Instruments adds the Activity Monitor instrument to the trace document.
3. In the Default Target menu of the trace document, choose Target and select the App you want to target.
4. Click on the Record button. Targeted App will be started running on your device.
5. Wait a few seconds so that Instruments can gather some data. Now perform you are operations on the App.
6. Click the Stop button after your actions completed.
Run Code Online (Sandbox Code Playgroud)
谢谢.
| 归档时间: |
|
| 查看次数: |
7134 次 |
| 最近记录: |