From 6f10953a3c559a8eb97a4550b337205cdfb745ac Mon Sep 17 00:00:00 2001 From: FightingEveryDay Date: Thu, 25 Oct 2018 09:46:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9iPhone=20X=E7=B3=BB=E5=88=97?= =?UTF-8?q?=E6=89=8B=E6=9C=BA=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改iPhone X系列手机判断 --- YZAuthID/YZAuthID.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YZAuthID/YZAuthID.m b/YZAuthID/YZAuthID.m index fdb8278..ee305fe 100644 --- a/YZAuthID/YZAuthID.m +++ b/YZAuthID/YZAuthID.m @@ -11,7 +11,7 @@ #import "YZAuthID.h" #import -#define iPhoneX (UIScreen.mainScreen.bounds.size.width == 375.f && UIScreen.mainScreen.bounds.size.height == 812.f) +#define iPhoneX (UIScreen.mainScreen.bounds.size.width >= 375.f && UIScreen.mainScreen.bounds.size.height >= 812.f) @implementation YZAuthID