Edit

Share via


UIGraphics.EndImageContext Method

Definition

Pops the current image context.

public static void EndImageContext ();
static member EndImageContext : unit -> unit

Remarks

UIKit keeps a stack of image context, this method pops the current image context, and makes the new context at the top of the stack, the new default context.

If the current context was not created using the BeginImageContextWithOptions(CGSize, Boolean, nfloat) or BeginImageContext(CGSize) this method does nothing.

Applies to