2016-11-28 65 views

回答

3
let url = NSURL(string: "NameOfTheAppAsOnAppStrore:") 
// canOpenURL will return a bool value checking the presence of app in your device and if app is present, it will open the same. 
if UIApplication.sharedApplication().canOpenURL(url!) 
     UIApplication.sharedApplication().openURL(url!) 
} 
相關問題