I making a social application which requires Google+. I know that I can open Google+ as a link to Safari (Which isn't really user Friendly having to switch apps just to post something). This code opens the link to Safari:
-(IBAction)Google+:(id)sender {
NSLog(@"Google+");
//The link will go to Stack Overflow Google+ Page
NSURL *GooglePlus = [NSURL URLWithString:@"https://plus.google.com/+StackExchange/posts"];
[[UIApplication sharedApplication] openURL:GooglePlus];
}
But is there a way to detect if Google+ Application is installed and open the application there (And if it isn't then open the link to Safari). I thank Everyone who take the time to read my post (Even if you didn't) :)