What are best practices for IPhone web development [closed]
I need to know best practices for IPhone/IPAD HTML5 Web development.
Remember never to rely on "hover" states, because there is no hover on touch devices like the iPhone or the iPad.
Also, for the video tag, remember that you have to use video encoded in H264 (the only format supported by Apple) and that you'd better not use the poster attribute if you need it to work on iPhones without OS 4 (it was an old bug, now fixed). More info here: http://camendesign.com/code/video_for_everybody
精彩评论