Reputation: 9241
On iOS, is it possible to launch a Skype voice call via URI while maintaining my app in the foreground?
If so, is it also possible to launch Skype via URI with speakerphone enabled?
(Why? I'm trying to support voice communication while also performing a collaborative task in my app.)
Upvotes: 0
Views: 144
Reputation: 2059
Acording to the official documentation. There isn't any options to be included in the Skype URL.
The only supported call is the default one:
- (IBAction)skypeMe:(id)sender
{
BOOL installed = [[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"skype:"]];
if(installed)
{
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"skype:echo123?call"]];
}
else
{
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://itunes.com/apps/skype/skype"]];
}
}
Upvotes: 1