Does exporting a snapshot from a rect work on mobile?

Mark Waddingham mark at livecode.com
Thu Aug 31 08:25:23 EDT 2017


Hi Jonathan,

On 2017-08-31 14:09, Jonathan Lynch via use-livecode wrote:
> Thanks for checking Paul. It appears that, with a browser widget on
> screen, I am only getting an image from the parts of the screen with
> the browser widget.
> 
> With import snapshot, the non-browser parts of the image are
> transparent (and black). With exporting a snapshot to a variable and
> putting that variable into an image, the non-browser parts are visible
> but black.
> 
> I will do more exploring and file a bug report if I can isolate the 
> issue more.

This is http://quality.livecode.com/show_bug.cgi?id=9992 - back when 
this was reported there was no way to do as you are wanting. However, it 
seems like since then there is a new way to get a snapshot of the 
screen:

https://developer.apple.com/documentation/uikit/uiview/1622589-drawviewhierarchyinrect

So we can try that to fix the problem (it might still not work for some 
layer types).

Warmest Regards,

Mark.

-- 
Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps




More information about the use-livecode mailing list