Skip to content

Commit

Permalink
Merge pull request micyo202#1 from FightingEveryDay/patch-1
Browse files Browse the repository at this point in the history
修改iPhone X系列手机判断
  • Loading branch information
micyo202 authored Oct 25, 2018
2 parents 70dd1dc + 6f10953 commit d12d8e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion YZAuthID/YZAuthID.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#import "YZAuthID.h"
#import <UIKit/UIKit.h>

#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

Expand Down

0 comments on commit d12d8e1

Please sign in to comment.