Watching memory usage in iOS

后端 未结 7 960
你的背包
你的背包 2020-11-28 01:54

Is there any way to find out how much memory is available in iOS? I know that the system will pass low memory warnings when available memory gets low. However, my App has so

7条回答
  •  我在风中等你
    2020-11-28 02:35

    The suite of development tools that apple provides includes "Instruments". You can use this to monitor allocations and leaks. In Xcode if you long click on the Run button you will see an option called "Profile". This will open up instruments automatically and allow you to select a profile to monitor your application.

提交回复
热议问题