How to implement and communicate through websites in an iOS application?

I want to create a simple application that contains a UIWebview. Now I want to communicate through websockets with this page. For example, when I click a button on this page, I want to get some lines from this server, so I can work with this information in my application.

Is it possible? Or are there other ways to do this? Thanks for every comment ..

+7
source share
2 answers

It might be worth checking out Pusher (note: I am a co-founder), since we have an iOS library that will save you a lot of hassle: https://github.com/lukeredpath/libPusher

+4
source

I just released SocketRocket , the native WebSocket library that conforms to the latest standard.

The author of the iOS library libPusher has a branch that also uses SocketRocket.

+6
source

All Articles