The calling application 2

Recommended for you: Get network issues from WhatsUp Gold. Not end users.

A call to the app method, the store interface

In the actual development, often have to recommend myself to other application and recommend their billing software, so we need to directly connected to the corresponding page of the app store in the program.

In fact, the approach is very simple, using the UIApplication class's OpenURL method:

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"The corresponding connection program"]];


Methods two, call other applications

1)The call comes with mail one

[[UIApplicationsharedApplication] openURL:[NSURLURLWithString:@"mailto://"]];

2)Call the phone phone one

[[UIApplication sharedApplication] openURL:[NSURLURLWithString:@"tel://8008808888"]];


3)Call SMS


[[UIApplicationsharedApplication] openURL:[NSURL URLWithString:@"sms://800888"]];


4)The call browser Safari


[[UIApplicationsharedApplication] openURL:[NSURLURLWithString:@" "]];

5)Call Remote


[[UIApplicationsharedApplication] openURL:[NSURL URLWithString:@"remote://fff"]];

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download

Posted by Arno at December 06, 2013 - 4:42 AM