double version = [[UIDevice currentDevice].systemVersion doubleValue];