昨天在开发的时候,遇到了iPhone6以及以上的版本不能用canvas的drawImg,代码如下:
capture.drawImage(canvas2,writeArea.width*row ,topper,writeArea.width ,writeArea.height,showArea[row] ,topp,showArea[7] ,showArea[7]);
然后在百度也百度不出什么东西。。望大神指点江山。
楼主可以尝试下这个库:https://github.com/stomita/ios-imagefile-megapixel
safari本身有限制。