Building a Safari (desktop) extension, one have access to screenshot from tab.visibleContentsAsDataURL(); it works brilliantly, lightning fast. Something like this: Safari Extension Taking Screenshot
On iOS, we tried:
Html2Canvas (it didn't produce good enough results); http://html2canvas.hertzen.com
a hidden UIWebview in the extension (cause troubles with memory in the extension)
What would be the equivalent on iOS inside a share extension? In other words: how would you take a screenshot in a iOS Safari Extension?