Skip to content

Instantly share code, notes, and snippets.

@NghiaTranUIT
Created October 1, 2014 10:06
Show Gist options
  • Save NghiaTranUIT/cb25ee380ac81a4458d7 to your computer and use it in GitHub Desktop.
Save NghiaTranUIT/cb25ee380ac81a4458d7 to your computer and use it in GitHub Desktop.
NSString *customURL = @"facebook://";
if ([[UIApplication sharedApplication]
canOpenURL:[NSURL URLWithString:customURL]])
{
// App fb có cài
return YES;
}
else
{
// App fb ko cài
return NO;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment