title: Making a phone call from iPhone application
body: <p>I am getting a little tricked up right now so I need some help.  I have an iPhone app and within the app I want to be able to call a number. (Hopefully this is possible?)</p>
  
  <p>I have looked at:
  <a href="http://developer.apple.com/library/ios/#featuredarticles/iPhoneURLScheme_Reference/Articles/PhoneLinks.html" rel="nofollow">http://developer.apple.com/library/ios/#featuredarticles/iPhoneURLScheme_Reference/Articles/PhoneLinks.html</a></p>
  
  <p>and I am a little confused.  It has an  with the tel:XXXXXXXX but in objective c and the iPhone sdk can you have just a plain  link??</p>
  
  <p>Right now I am trying to use something along the lines of the following:</p>
  
  <pre><code>[[UIApplication sharedApplication] openUrl:[NSURL URLWithString:@"tel:#######"]];
  </code></pre>
  
  <p>(the ##### is a my second phone number hardcoded in for testing purposes)</p>
  
  <p>Thanks in advance.</p>