App installed
func isAppInstalled(name:String)->Bool {
return UIApplication.sharedApplication().canOpenURL(NSURL(string:"\(name):")!)
}
func isAppInstalled(name:String)->Bool {
return UIApplication.sharedApplication().canOpenURL(NSURL(string:"\(name):")!)
}