Search code examples
c#iosxamarin.iosscreenshotxamarin

How to take a screenshot of the iPhone/iPad programmatically with Xamarin.iOS (C#)?


How can I take a screenshot with Xamarin.iOS and stored this image in UIImage.

I have seen several examples of Obj-C, but no C #


Solution

  • Even more elegant:

    UIScreen.MainScreen.Capture ();