tags:

views:

239

answers:

2

I am developing an Messenger application where i am trying to use an peer-to-peer online connection.

But for that i have to present my own user interface to configure the Internet connection.

how to do it?.. Please help me...

A: 

You have to create your own UI for this, either programatically or with UI builder.

From: http://developer.apple.com/iphone/library/documentation/GameKit/Reference/GKPeerPickerController_Class/Reference/Reference.html#//apple_ref/occ/cl/GKPeerPickerController

Important: Although users can select internet connections in the peer picker, the GKPeerPickerController does not provide an user interface to configure them. If your application configures the peer picker to allow Internet connections, your application must also dismiss the peer picker and present its own interface to configure an internet connection.

John
A: 

Thanks for your reply..

I am able to do peer-to-peer connection using Nearby option. But I got problem in Online connection. Here I am able to detect connection type as GKPeerPickerConnectionTypeOnline in delegate’s peerPickerController : didSelectConnectionType: method. But I don’t know how to configure the internet connection.

Kindly help me with either a sample code or any documentation that explain how to handle internet connection?..

edit your question instead of posting an answer :)
Typeoneerror