I have sphere animation on my site, for desktop, tablet and mobile I m using different sizes of sphere. Here you can see conditions of every type of device:
desktop:
var screen_size = window.screen.width;
if(screen_size < 1025){
false;
}else{
sphere animation code;
}
Tablet:
var screen_size = window.screen.width;
if(screen_size >= 1025 || screen_size < 668){
false;
}else{
sphere animation code;
}
Mobile:
var screen_size = window.screen.width;
if((screen_size > 667)){
false;
}else{
sphere animation code;
}
If I use one script separately its - works, other operation system - its works. I think suppose main problem in "window.screen.width".
Here you an see my site with full code: thesevenwang
Thank all for replies, problem was not in ("window.screen.width" not work on IOS) or conditions.
Problem was in 3 spheres with same code, after I deleted all repeated code it start work. May be some double variables cause an error implementation.
And window.screen.width now work well on IOS, so my main problem statement was wrong.
Anyway thank you all, you comments helped me think under the problem more clearly.