Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Cisco Jabber URI in iOS Apps
- (IBAction)jabberCall:(id)sender
{
BOOL installed = [[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"ciscojabber://"]];
if(installed)
{
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"ciscojabber://call?address=DirectoryNumber@CUCM-Server&type=4"]];
}
else
{
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms-apps://itunes.apple.com/us/app/cisco-jabber-for-ipad/id540243083?mt=8&uo=4"]];
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment