I've read that WebSockets work on iOS 4.2 and above. And I can verify that there is indeed a WebSocket object. But I can't find a single working WebSocket example that works on the phone.
For example http://yaws.hyber.org/websockets_example.yaws will crash the Mobile Safari app. Has anyone got WebSockets working successfully on the phone?
I may have found the solution. Mobile Safari only crashes with websockets when you have setup a proxy over wifi.
1.4m articles
1.4m replys
5 comments
57.0k users