2016-11-28 34 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!) 
} 
関連する問題