views:

392

answers:

2

Is there a way to slow down the internet connection to the iPhone Simulator, so as to mimic how the App might react when you are in a slow spot on the cellular network?

+1  A: 

There isn't a direct way to emulate a slow connection, unlike, say, the nice network connection emulator that blackberry developers enjoy. However, since your simulator's connection goes through your computer - you can simply focus on slowing down your computer's connection.

You'll want to achieve two things (depending upon your circumstances):

  • throttle your bandwidth
  • increase your latency

Maybe this will point you in right direction:

http://www.macosxhints.com/article.php?story=20080119112509736

There are some good open source solutions, too, but I so can't remember their names.

This question might help: http://stackoverflow.com/questions/2273839/how-to-throttle-network-traffic-for-environment-simulation

JJ Rohrer
+4  A: 

An app called SpeedLimit

http://mschrag.github.com/

Works great.

chris.

PyjamaSam