How to launch another app from an iPhone app
问题 I am working on a map application in my iPhone app. I have a button go . When the user clicks this button in this method I want to check if user has installed the waze application on his iphone. If yes then navigate to waze application otherwise open iPhone's default map app. 回答1: Try to do this way : NSString *wazeAppURL = @"waze://"; NSString *mapsAppURL = @"maps://"; BOOL canOpenURL = [[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:wazeAppURL]]; NSString *url =