---
title: "How can I manage Calling on iPhone?"  
description: "How can I manage Calling on iPhone?"  
author: "Anonymous User"  
published: 2015-12-28  
updated: 2015-12-28  
canonical: https://www.mindstick.com/forum/33796/how-can-i-manage-calling-on-iphone  
category: "iphone"  
tags: ["iphone", "ios", "objective c"]  
reading_time: 1 minute  

---

# How can I manage Calling on iPhone?

I am creating an [iPhone application](https://www.mindstick.com/forum/23139/can-i-embed-a-custom-font-in-an-iphone-application) which will manage calls. But I am not [understanding](https://www.mindstick.com/articles/12918/cat-5e-vs-cat-6a-understanding-the-major-differences) how can I manage it.\
Can [anyone](https://www.mindstick.com/articles/23207/how-to-find-the-best-fit-job-for-anyone) clearify my issue, please provide me [code](https://yourviews.mindstick.com/view/85458/alan-turing-the-mastermind-behind-cracking-the-enigma-code-during-world-war-ii) if possible.\
Thank you.

## Replies

### Reply by Tarun Kumar

The example I have provided below will be helpful and solve your problem because I have also use it in our own [application](https://www.mindstick.com/articles/12824/calculator-application-in-android).\
This code will execute only on Device not on simulator:

```
NSString *tel_Number = @"+913337979111";NSURL *tel_URL = [NSURL URLWithString:[NSString  stringWithFormat:@"telprompt:%@",tel_Number]];if ([[UIApplication sharedApplication] canOpenURL:tel_URL]) {    [[UIApplication sharedApplication] openURL:tel_URL];} else {    UIAlert *alert = [[UIAlertView alloc]initWithTitle:@"Alert" message:@"Calling functionality is not available in simulator, please use Device!" delegate:nil cancelButtonTitle:@"ok" otherButtonTitles:nil, nil];    [alert show];}
```


---

Original Source: https://www.mindstick.com/forum/33796/how-can-i-manage-calling-on-iphone

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
