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