title: How to fake network connection type changes in iOS simulator?
body: <p>I would like to test my iOS application with all the network conditions possible, including quality of the connection (offline, poor, good) and carrier (WiFi, 3G). For the former, others have already suggested using the Network Link Conditioner, e.g. here:</p>
  
  <p><a href="https://stackoverflow.com/questions/7596930/iphone-simulator-simulate-3g-connection">iPhone simulator - simulate 3G connection</a></p>
  
  <p>which is just fine for the bandwidth and packet loss, but unfortunately it isn't able to change the carrier type that is reported to the simulator. So I'm looking for a not-so-hacky way of simulating changes in the carrier type. I said not-so-hacky because I have already come up with a hacky solution which, moreover, is incomplete as it can only deceive code which explicitly depends on Apple's famous <code>Reachability</code> module. (Though if anyone is interested, I can post it here.)</p>
  
  <p>Is there a way to hijack/tamper with what the <code>SystemConfiguration</code> API reports?</p>