UIKit.UIScreen.Capture Method
Captures a screenshot of the entire screen.

Syntax

public UIImage Capture ()

Returns

A screenshot as a UIKit.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 OpenTK.Platform.iPhoneOS.iPhoneOSGameView.Capture() method.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0