Simulate different network conditions on iOS simulator

When enabled, the Network Link Conditioner can change the network environment of the iPhone Simulator according to one of the built-in presets:
  • EDGE
  • 3G
  • DSL
  • WiFi
  • High Latency DNS
  • Very Bad Network
  • 100% Loss

You can control the internet downlink/uplink bandwidth. BitTorrent/UTorrent some times won’t respect the upload limit so network-link-conditioner will control it.

Advertisements

Gamekit + Wifi

GKSession object will automatically handle the discovery of peers over WiFi or Bluetooth, and find those that are available on either protocol.

The documentation is stating that unlike Bluetooth, for which GKPeerPickerController provides a UI to enable Bluetooth if it’s not already enabled, GKPeerPickerController does not provide a UI to enable wifi, or select the network the user wishes to be on, you will have to provide your own.

Following example will help you

http://developer.apple.com/iphone/library/samplecode/GKRocket/Introduction/Intro.html

Blogged with the Flock Browser

Avoiding WiFi disconnections

Avoiding WiFi disconnections

Any iPhone application that requires a WiFi connection must set UIRequiresPersistentWiFi to <true/>, otherwise the iPhone will abruptly disconnect the WiFi connection after 30 minutes of use. No warning, no error: 30 minutes and you’ll lose WiFi without this flag.

Blogged with the Flock Browser