UIApplicationDelegate.OnResignActivation(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.
Called when the application is about to enter the background, be suspended, or when the user receives an interruption such as a phone call or text.
[Foundation.Export("applicationWillResignActive:")]
public virtual void OnResignActivation (UIKit.UIApplication application);
abstract member OnResignActivation : UIKit.UIApplication -> unit
override this.OnResignActivation : UIKit.UIApplication -> unit
Parameters
- application
- UIApplication
Reference to the UIApplication that invoked this delegate method.
- Attributes
Remarks
Because iOS applications should be designed to be long-lived, with many transitions between foreground processing, suspension or background processing, or interrupted, this method may be a good place to release expensive resources or otherwise ensure that the application is in a consistent, restorable state.
Applies to
See also
- <xref:UIKit.UIApplicationDelegate.OnActivated>