Html2canvas some machine screenshots are blank in IOS

The problem is that html2Canvas can be solved by going back to RC.4;

Or modify html2Canvas source code:

if(documentClone fonts && documentClone. Fonts. Ready)} {* * * * it is ok to put this code is commented outCopy the code

There are other things to be aware of with HTML2Canvas screenshots

1. For half of a screenshot: it may be due to scrolling; The solution can be used to locate fixed; 2, for the picture cross-domain problem: find the source code modification code is as follows:if (cors) {
            //self.image.crossOrigin = "anonymous"; //1. Delete the anonymous code here and change to empty self.image.crossorigin =""; } //self.image.src = src; //2. Add a random number such as timestamp + after source SRC"?"+new Date().getTime();
        self.image.src = src+"?"+new Date().getTime();
Copy the code