// // CCIOS.h // CCFC // // Created by xichen on 11-12-17. // Copyright 2011年 ccteam. All rights reserved. // #import <Foundation/Foundation.h> #define IOS_ROOT_DEFAULT_PASSWORD @"alpine" @interface CCIOS : NSObject { } //获取OS版本 + (NSString *)osVersion; // 获取OS主版本号 + (NSString *)osMajorVer; // 获取OS子版本号 + (NSString *)osMinorVer; // whether the device supports multitask + (BOOL)isSupportsMultitask __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_4_0); @end
googlecode链接地址(会有更新):http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCIOS.h
github地址:https://github.com/cxsjabc/iphone-common-codes-ccteam/tree/master/CCFC/files/CCIOS.h