iphone-common-codes-ccteam源代码 CCIOS.h

//
// 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

你可能感兴趣的:(iPhone)