Edit

Share via


UIApplicationDelegate.ReceiveMemoryWarning(UIApplication) Method

Definition

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.

Applies to