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...
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...
You have to create your own UI for this, either programatically or with UI builder.
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.
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?..