Skip to content

Instantly share code, notes, and snippets.

@EvgenyKarkan
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EvgenyKarkan/c8cac8ceaacf3272759e to your computer and use it in GitHub Desktop.
Save EvgenyKarkan/c8cac8ceaacf3272759e to your computer and use it in GitHub Desktop.
RunKeeper URL scheme
-(void) openReceiverApp
{
UIApplication *ourApplication = [UIApplication sharedApplication];
NSString *ourPath = @"RunKeeperPro://";
NSURL *ourURL = [NSURL URLWithString:ourPath];
if ([ourApplication canOpenURL:ourURL]) {
[ourApplication openURL:ourURL];
}
else {
//Display error
}
}
//NSString *ourPath = @"strava://";
//NSString *ourPath = @"nikeplus://";
//NSString *ourPath = @"at.runtastic.gpssportapp://";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment