UIApplicationDelegate.ReceiveMemoryWarning(UIApplication) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The app has received a low-memory warning from the system.
[Foundation.Export("applicationDidReceiveMemoryWarning:")]
public virtual void ReceiveMemoryWarning (UIKit.UIApplication application);
abstract member ReceiveMemoryWarning : UIKit.UIApplication -> unit
override this.ReceiveMemoryWarning : UIKit.UIApplication -> unit
Parameters
- application
- UIApplication
Reference to the UIApplication that invoked this delegate method.
- Attributes
Remarks
Subsequent to this call, applications may be terminated by the system. Application developers should override this method and purge their applications of as much cached data as possible.
Xamarin.iOS will automatically call Collect when low-memory warnings are received.