IOS中javascript会遇到的坑


1. 在IOS系统里js设置背景图片

错: document.body.style = "background-image: url(...)";

对: document.body.style.backgroundImage = “url(...)”;

2. IOS系统中,当触摸屏幕时,setInterval停止运行!

猜你喜欢

转载自blog.csdn.net/github_37360787/article/details/58611078