...and I learned that the hard way.
Last week I shared a small project I did using my 3D engine, but iphone users weren't able to view it.
https://victorribeiro.com/3Dsphere/
well, I wasn't able to debug it, cause I don't own an iPhone. So, I bought an iPhone as a gift to my mom, and tried to debug my app from there, with no succes, of course, cause I use a old stable version of debian and I was going through all kinds os hell trying to debug remote an website on iPhone on my linux machine.
Anyways, I was able to figure it out by doing something very very simple, that worked like a charm. Since you don't have a console on iPhone to see whats going on, I did the following:
try{
doSomething()
}catch(e){
div.innerHTML = e
}
this way I was able to figure it out where my code was breaking. And after 30 minutes of investigation, I came to the obvious conclusion (if I have read the documentation): iPhones don't support webgl2. FML!!!Anyways, I have converte the project to webgl1 and should work now.