Open the Phone (Call) with a button and a Text field/View (iPhone) and come back to the application back
<p>Hello, I have successfully developed an application in which clicking on UIButton the Mobile no in UITextField dialled.</p>

<p>But I am not able to come back in my application. Is it possible to come back on the page from which I have dialled the Mobile number.</p>

<pre><code>-(void)newuser:(id)sender;
{
    NSString *URLString = [@"tel://" stringByAppendingString:@")172-123456"];

    NSURL *URL = [NSURL URLWithString:URLString];

    [[UIApplication sharedApplication] openURL:URL];
}
</code></pre>

<p>Thanks </p>
