Import Snapshot in iOS

Ender Nafi Elekçioğlu endernafi at gmail.com
Tue May 14 20:13:59 EDT 2013


Yepp :)  
*import from <object>* works fine.
The problem is *import from rect* notation.

@Roger,
for now the only solution seems this piece of code:
_set the acceleratedRendering of this stack to false
_import snapshot from rect tRect
_set the acceleratedRendering of this stack to true

My sample stack in the forum post works without a glitch with this update.
So, the code in that stack does 3 things:
* Prohibits the black snapshot {turning off the a-R temporarily}
* Prohibits the transparent blank snapshot {excluding the iPhone status bar}
* Places the final snapshot into the visible portion of the screen


Best,

~ Ender Nafi

~… together, we're smarter …~


More information about the Use-livecode mailing list