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 #
Press the side button and the volume up button at the same time. Quickly release both buttons. After you take a screenshot, a thumbnail temporarily appears in the lower-left corner of your screen. Tap the thumbnail to open it or swipe left to dismiss it.
Do one of the following: On an iPad with a Home button: Simultaneously press and then release the top button and the Home button. On other iPad models: Simultaneously press and then release the top button (on the top-right edge of iPad) and either volume button.
Ø Open the Restricted app where the screenshot will be taken. Ø Select the Settings icon that looks like a toolbox from the floating button on your screen. Ø Select the Screenshot option from the drop-down menu and shut the drop-down menu. Ø A second floating button, a left-hand camera icon, will appear on your screen.
Even more elegant:
UIScreen.MainScreen.Capture ();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With