iOS 7
Opened this issue · 4 comments
Does this work with iOS 7?
Im trying to get this to work on my iPhone 4s with iOS 7.
The canvas is created with three.js and the "canvas-renderer".
But i don't get any issues from the Javascript side, all looks fine there.
The Problem is that there are no images stored at all.
Here's my Code:
onClick: function(){
var canDiv = document.getElementById('canvas-container');
var newCanvas = canDiv.getElementsByTagName('canvas')[0];
window.canvas2ImagePlugin.saveImageDataToLibrary(
function(msg){
console.log(msg);
},
function(err){
console.log(err);
},
newCanvas
);
}
Are there known compatibility prob's with that iOS?
Thanks
Have you tried running up the Demo App?
I just tested the demo app on iOS 7 and it is working fine.
The prob. is that i don't get the canvas2ImagePlugin object on my iOS Browser. I've done remote debugging, and i get the Error:
TypeError: 'undefined' is not an object (evaluating 'window.canvas2ImagePlugin.saveImageDataToLibrary')
even Safari on my mac don't get's the object -
- BUT in Chrome it's there!
Any help would be nice.
i have same error.
Please help me.
Any help would be nice.