UIScreen.Capture UIScreen.Capture Method

Definition

Captures a screenshot of the entire screen.

public UIKit.UIImage Capture ();
member this.Capture : unit -> UIKit.UIImage

Returns

A screenshot as a UIImage.

Remarks

This API will only capture UIKit and Quartz drawing, because it uses the screen's CALayer's RenderInContext method to perform the screenshot. It will not capture OpenGL ES or video content.

If you want to capture an OpenGL ES or video content use the Capture() method.

Applies to