Posted by Jim Bergman on November 26, 2010 at 12:50 am
Apple released iOS 4.2 in November 2010, and part of that release was support for websocket in the web browser.
This was confirmed in a visit to a local Apple store. Here are some screencaps grabbed of the iPhone 4:
iOS 4.2 is also available for the iPad, which is a huge improvement. iOS 4.0 was only for the iPhone, and the iPad was still using iOS 3. Here are the iPad screencaps to confirm websocket support on the iPad:
Apple had websocket support in the beta of iOS 4.0, but removed it before release. Whatever reason it was not included iOS 4.0 must have been resolved in iOS 4.2.


WebSockets supported in iOS 4.2 by Jim Bergman is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Permissions beyond the scope of this license may be available at http://jimbergman.net/about.
Continue Reading
Posted by Jim Bergman on April 26, 2010 at 1:58 am
UPDATE December 2010: iOS 4.2 now has websocket support
UPDATE July 2010: since the beta 2 release of iOS4, Apple has disabled websockets support. A few readers pointed this out, so I made a trip to an Apple Store it run a few tests.

Confirmed: iOS4 as it is released reports it does NOT have websocket support.
ORIGINAL POST:
Since the Safari web browser on the iPhone is based on WebKit, it makes sense that at some point support for WebSockets would make it to the iPhone.
Safari on iPhone OS 4.0 beta 2 supports WebSocket.

Once OS 4 is available for the iPad, support should be there as well.
Thanks to reader Arun for pointing this out.


WebSockets NOT supported in iOS 4.0 by Jim Bergman is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Permissions beyond the scope of this license may be available at http://jimbergman.net/about.
Continue Reading