Can I use the speaker for programmatically initiated phone calls?

I use the following iPhone SDK code for soft calling:

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"12345678"]];

The call is initiated just fine, my question is, is it possible to programmatically set the speaker as the sound source for this initiated phone call?

I am trying to ensure that a call is initiated and automatically uses the iPhone speaker as the sound source of the call.

Thanks for the help!

+1
source share
1 answer

It's impossible. You can only initiate calls using the method you described, but you cannot do anything without a private api.

+1
source

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


All Articles