【发布时间】:2011-06-21 13:14:28
【问题描述】:
可能重复:
Generating alert to User when didReceiveMemoryWarning is called
在我的应用程序中,我将使用相机拍摄图像并将其设置为背景图像。有时我收到警告为“收到警告级别=1。”。用这个支付了一段时间后,我收到了另一个警告 “Warning Received Level=2.” 在这些时候 “didReceiveMemoryWarning” 方法将被调用。如果我收到 level=2 警告,我想向用户显示警报。我怎样才能以编程方式做到这一点。
任何人都可以帮助我。 提前致谢。
【问题讨论】:
标签: iphone objective-c