首页 > 移动平台 > 详细

Prefix.pch文件-判断iOS系统版本

时间:2014-10-26 18:14:26      阅读:265      评论:0      收藏:0      [点我收藏+]

ItcastWeibo-Prefix.pch

//
//  Prefix header
//
//  The contents of this file are implicitly included at the beginning of every source file.
//

#import <Availability.h>

#ifndef __IPHONE_5_0
#warning "This project uses features only available in iOS SDK 5.0 and later."
#endif

#ifdef __OBJC__
    #import <UIKit/UIKit.h>
    #import <Foundation/Foundation.h>
    #define iOS7 ([[[UIDevice currentDevice] systemVersion]doubleValue] >= 7.0)
#endif


Prefix.pch文件-判断iOS系统版本

原文:http://www.cnblogs.com/xiaokanfengyu/p/4052142.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!