Skype URI tutorial: iOS apps
Learn how to incorporate Skype communication functionality into your iOS apps.
Last modified: July 09, 2014
Applies to: Skype
In this article
Use Skype URIs in your iOS apps
Determine whether a Skype client is installed
What to do if a Skype client is not installed
Additional resources
Note
|
|---|
|
With the recent redesign of the Skype for iOS client, URIs are not currently supported on the Skype for iOS 5.x branch. |
You can use Skype URIs in your iOS apps; for example, tapping a contact’s picture might start a Skype audio call. After you have constructed the appropriate Skype URI, simply use openURL to initiate its actions.
- (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"]];
}
}
Note