From 83b9d5c682b21d88133f24da0f94dd56bd79e687 Mon Sep 17 00:00:00 2001 From: 单军华 Date: Thu, 19 Jul 2018 13:38:55 +0800 Subject: [PATCH] change --- 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