From 21d3023a9b7b6aff68c1170e345951396b1c6cfd Mon Sep 17 00:00:00 2001 From: 单军华 Date: Tue, 31 Jul 2018 13:35:21 +0800 Subject: [PATCH] no message --- screendisplay/Pods/CYLTabBarController/CYLTabBarController/CYLConstants.h | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/screendisplay/Pods/CYLTabBarController/CYLTabBarController/CYLConstants.h b/screendisplay/Pods/CYLTabBarController/CYLTabBarController/CYLConstants.h new file mode 100644 index 0000000..19579e7 --- /dev/null +++ b/screendisplay/Pods/CYLTabBarController/CYLTabBarController/CYLConstants.h @@ -0,0 +1,19 @@ +// +// CYLTabBarController.h +// CYLTabBarController +// +// v1.16.0 Created by ������@iOS������������ ( http://weibo.com/luohanchenyilong/ ) on 10/20/15. +// Copyright �� 2015 https://github.com/ChenYilong . All rights reserved. +// + +#ifndef CYLConstants_h +#define CYLConstants_h + +#define CYL_DEPRECATED(explain) __attribute__((deprecated(explain))) +#define CYL_IS_IPHONE (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone) + +#define CYL_IS_IOS_11 ([[[UIDevice currentDevice] systemVersion] floatValue] >= 11.f) +#define CYL_IS_IPHONE_X (CYL_IS_IOS_11 && CYL_IS_IPHONE && (MIN([UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.height) == 375 && MAX([UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.height) == 812)) +#endif /* CYLConstants_h */ + + -- Gitblit v1.8.0