Upravit

Sdílet prostřednictvím


UIApplication.IgnoreSnapshotOnNextApplicationLaunch Method

Definition

Instructs the system not to use a UI snapshot during relaunch.

[Foundation.Export("ignoreSnapshotOnNextApplicationLaunch")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void IgnoreSnapshotOnNextApplicationLaunch ();
abstract member IgnoreSnapshotOnNextApplicationLaunch : unit -> unit
override this.IgnoreSnapshotOnNextApplicationLaunch : unit -> unit
Attributes

Remarks

This method method be called from within the state-preservation process.

Normally, the system takes a snapshot of the UI during state-preservation and presents this during state-restoration. Generally, this makes the application user feel that the system is relaunching quickly. App developers can call this method during state-preservation if the UI would not be appropriate during relaunch.

If this method is called, during state-restoration the app's default launch image will be displayed.

Applies to