故事和代码:http://laclefyoshi.blogspot.com/2010/11/websocket-and-devicemotion-event-on-ios.html使用iOS 4.2.1的Safari中添加的WebSocket和设备运动事件功能滚球