double version = [[UIDevice currentDevice].systemVersion doubleValue]; 转载于:https://blog.51cto.com/5828666/1569055