title: Controlling default gateway on iOS
body: <p>I need to connect an iOS device (iDevice) to a WiFi access port but keep using the cellular data connection.</p>
  
  <p>Default behavior is for iOS to set the WiFi connection as the default gateway, routing all internet traffic there. In my case the access point is a black box device supplying a WiFi network to access it's services, but not the internet. </p>
  
  <p>One solution which we have tried, is to make the iDevice the access point (hot spot) and have the black box device connect though it. This is far less desirable as the black box device has no UI. So it is difficult to setup.  We have lessened the pain by using Bonjour but still...</p>
  
  <p>Is it possible to make a system call (iOS application) to restore the gateway setting back to the cellular gateway after the iDevice joins a WiFi network?</p>
  
  <p>Would be even better if there is some way to setup the iDevice (IPhone or IPad) to maintain it's cellular gateway after connecting to a WiFi access point.</p>