title: How to make a call programmatically?
body: <p>I need to call programmatically in my app in a button click.</p>
  
  <p>for that i found code like this.</p>
  
  <pre><code>[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel:1-800-555-1212"]];
  </code></pre>
  
  <p>Is it work in iphone sdk 3.0 and iphone 2.0 also</p>
  
  <p>Can any pls help</p>
  
  <p>Thank u in advance.</p>