IPhone Phone Interaction

Our company has recently started to switch from Blackberries to iPhone, and the biggest complaint (such as it is) is that you cannot start dialing (who dials, waits for a pickup, dials more numbers, waits for an answer, dials more numbers) etc. that can be used to enter a conference call, such as InterCall.

Can I write a simple application for this on an iPhone? Part of me is most concerned about access to the dial mechanism. Otherwise, I can work from contacts, etc.

If this is possible? And if so, what classes and methods should I research?

+4
source share
3 answers

So I just tried this

- (void)call { [[UIApplication sharedApplication] openURL: [NSURL URLWithString: @"tel://611,1,1"]]; } - (void)viewDidLoad { [super viewDidLoad]; UIButton *telButton = [UIButton buttonWithType:UIButtonTypeRoundedRect]; telButton.frame = CGRectMake(20, 20, 100, 100); [telButton setTitle:@"Call" forState:UIControlStateNormal]; [telButton addTarget:self action:@selector(call) forControlEvents:UIControlEventTouchUpInside]; [self.view addSubview:telButton]; } 

and he worked.

Automatically dial the next number is achieved by placing a comma , and asking the user to allow the phone to dial the next number, reaching by placing a colon ; .

Link 1: http://www.modernsaver.com/pause-wait-blackberry-iphone-droid Link 2: http://www.iphonedevsdk.com/forum/iphone-sdk-development/85581-make-phone-call -tableview-cell.html # post355401

+6
source

I do not think that this is possible, as now, unfortunately. Apple is very strict about third-party applications and their access to the core of the iPhone (calling people, etc.).

The only thing you can do is invite the user to call the number, but as much as possible.

EDIT: I was wrong, there really is a way to do this. Take a look at the answer of Krishna K.

+1
source

Due to Apple's sandbox requirements, you cannot programmatically access the basic features of an iPhone. The closest thing you can do is create your own VoIP service that bypasses the capabilities of the phone (but it is quite difficult, and you probably shouldn't do that). Unfortunately.

0
source

Source: https://habr.com/ru/post/1389837/


All Articles