double version = [[UIDevice currentDevice].systemVersion doubleValue];//判定系统版本。