摘要: 由于代码中需要实现某个5.0后才能支持的方法,所以添加一个判断。获取系统版本号的方法: [[UIDevice currentDevice] systemVersion];判断是否大于版本5.0: floatsystemVersion = [[[UIDevice currentDevice] systemVersion] floatValue]; if (systemVersion >= 5.0) { //某个仅支持5.0以上版本的方法 }其他ios系统信息:[[UIDevice currentDevice] name]... 阅读全文
posted @ 2012-12-21 19:34 nanoCramer 阅读(1850) 评论(0) 推荐(0) 编辑