Can we enable/disable Call Audio Routing setting in ios programmatically

579 views Asked by At

I'm starting a call in ios programmatically like this:

NSString *telString = [NSString stringWithFormat:@"tel:%@", @"9898989898",];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:telString]];

Along with this, I want to enable speaker automatically for this phone call from my app as per client request. I know user can do it mannualy like following:

enter image description here

Can we access this Call Audio Routing setting from our app? or is there other possibility?

Referring to this question its not possible, but have things changed in these 5 years?

0

There are 0 answers