Created
September 9, 2013 22:26
-
-
Save divyen/6502336 to your computer and use it in GitHub Desktop.
Cisco Jabber URI in iOS Apps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (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