Together with the operating system iOS (2) for the iPhone and the Apple iPad in Safari browser has added many new features including support for the accelerometer and WebSockets. Now developers sites were able to add your resources of new and cool features that will be supported devices based on iOS.
For example, Maximiliano Firtman webmaster created for demonstration Web page where a red ball rolls driven tilt device.
Code of the page is written in JavaScript and CSS3. Made recently added in Mobile Safari DeviceOrientation programming interface that enables 50 times per second readings with the accelerometer and objects on the screen, based on this data, react. The system also supports the use of gyro on the iPhone 4 and fourth-generation iPod touch.
Mobile Safari in IOS 4, which on Monday also supports WebSockets W3C HTML5 is a software interface that helps you build applications that connect to the server via TCP/IP Sockets over TCP/IP. Other updates in Mobile Safari includes forms support HTML5, AJAX, printing and more.
As you know, Apple actively promotes HTML5 and other open Web standards for use on mobile devices like the iPhone and iPad. In September the company even stated that gathered “creative technology group, which will create new interactive content based on HTML5. It professionals want to demonstrate “innovative” abilities site.
