最赞回答 / tonyanderos
这里有一个帖子:http://code4app.com/article/cocoapods-install-usage 但是我自己是ruby版本太低才安装失败 我更新了ruby就成功了
2015-03-20
func ios8() -> Bool{
var deviceVersion:NSString = UIDevice.currentDevice().systemVersion
return deviceVersion.substringWithRange(NSMakeRange(0, 1)) == "8"
}
var deviceVersion:NSString = UIDevice.currentDevice().systemVersion
return deviceVersion.substringWithRange(NSMakeRange(0, 1)) == "8"
}
2015-03-06