IOS Capturing current screen by declare

Hi,
Is there a way to capture current screen by declare and put the result into a canvas ?

I’m not an expert with declare.

In Objective-C :
http://stackoverflow.com/questions/13284417/how-to-take-a-screenshot-programmatically-in-ios

Apple doc :
https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIKitFunctionReference/#//apple_ref/c/func/UIGraphicsGetImageFromCurrentImageContext

Thanks,

Franck

[quote=156252:@Franck Danard]Hi,
Is there a way to capture current screen by declare and put the result into a canvas ?

I’m not an expert with declare.

In Objective-C :
http://stackoverflow.com/questions/13284417/how-to-take-a-screenshot-programmatically-in-ios

Apple doc :
https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIKitFunctionReference/#//apple_ref/c/func/UIGraphicsGetImageFromCurrentImageContext

Thanks,

Franck[/quote]

Franck, your links are ill-formed. They lead to example.com. Instead of bothering with the link icon, just paste the link in the text, and esoTalk will do it for you.

[quote=156252:@Franck Danard]Hi,
Is there a way to capture current screen by declare and put the result into a canvas ?

I’m not an expert with declare.

In Objective-C :
http://stackoverflow.com/questions/13284417/how-to-take-a-screenshot-programmatically-in-ios

Apple doc :
https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIKitFunctionReference/#//apple_ref/c/func/UIGraphicsGetImageFromCurrentImageContext

Thanks,

Franck[/quote]

A big thank you to Jason, who has done a wonderful job

https://xojo.io/fb44ff50d079