Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

状态栏高度计算有问题,在iPhone12上调试,得出20,应该是47才对。 #39

Closed
HoodL opened this issue Jun 12, 2021 · 2 comments

Comments

@HoodL
Copy link

HoodL commented Jun 12, 2021

CGFloat LSTStatusBarHeight() {
if (lst_IsIphoneX_ALL()) {
return 44;
} else {
return 20;
}
}
lst_IsIphoneX_ALL方法里面列出了4种分辨率,只要全屏不等于这4种分辨率就是刘海屏,这种算法有问题吧。

@HoodL HoodL changed the title 状态栏高度计算有问题,在iPhone12上调试,得出20,应该是44才对。 状态栏高度计算有问题,在iPhone12上调试,得出20,应该是47才对。 Jun 13, 2021
@LoSenTrad
Copy link
Owner

@HoodL LSTCategory分类里面确实没更新 下个版本修复

@LoSenTrad
Copy link
Owner

@HoodL demo pod update即可 你应该是下载到旧版本了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants