//
//  AboutScreen.h
//  ArcGis
//
//  Created by Mac Book DQ02 on 16/3/25.
//  Copyright © 2016年 Xu Mengzhu. All rights reserved.
//

#ifndef AboutScreen_h
#define AboutScreen_h

//定义一个weak self
#define WS(weakSelf) __weak __typeof(&*self)weakSelf = self;

//获取屏幕 宽度、高度
#define SCREEN_WIDTH ([UIScreen mainScreen].bounds.size.width)
#define SCREEN_HEIGHT ([UIScreen mainScreen].bounds.size.height)

//判断是否是3.5寸屏
#define IS_IPHONE4 SCREEN_HEIGHT==480?YES:NO

//判断是否是4寸屏
#define IS_IPHONE5 SCREEN_HEIGHT==568?YES:NO

//判断是否是6/6plus
#define IS_IPHONE6_UP (SCREEN_HEIGHT>667 | SCREEN_HEIGHT==667)?YES:NO

#define BTNOFFSET (IS_IPHONE6_UP?10:5)

#endif /* AboutScreen_h */
