Using Monotouch, or Objective-C, how do I tell how much RAM is left on an iPad?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
As far as I know there is no way to get the amount of RAM available.
You can handle low memory warnings by subscribing to an event.
In your "Main.cs"
public override void ReceiveMemoryWarning(UIApplication application)
{
// Do what you want to free memory
}
Not sure if this helps but given the lack of answers it may prove helpful.
标签:
xamarin.ios