title: iOS making a phone call from the app without a confirmation alert
body: <p>My current enterprise iOS app includes an emergency 911 call feature for our guys in the field who often work under potentially unsafe conditions. The idea <em>was</em> that in case of a medical emergency, they could tap the "Dial 911" button and the phone would just dial.</p>
  
  <p>In order to prevent a mistaken call, the user has a 10 second grace period to cancel the call, at the end of which the system will place the call. But in the unusual and extreme case where the user may be seriously incapacitated and unable to respond further, the call should go on through after the ten second gap.</p>
  
  <p>I had all that working before the latest iOS update. Once the user tapped the "Call 911" button, the phone would complete the call without having to confirm. But now since the latest update, the phone has started showing a confirmation alert anyway.</p>
  
  <p>Here's the line of code that I had been using which, until now worked fine:</p>
  
  <pre><code>[[UIApplication sharedApplication] openURL:[NSURL URLWithString:[NSString stringWithFormat:@"tel:%@",strEmergencyNumber]]];
  </code></pre>
  
  <p>The trick apparently being to use the <code>tel:</code> command.</p>
  
  <p>I'm wondering if there is any other way to make the phone skip the confirmation alert. Otherwise, this may be a worthless function, with potentially fatal results.</p>
  
  <p>Not trying to sound dramatic, but that's just the way it is. Ours is a sometimes-very dangerous business.</p>
  
  <p>Thanks!</p>