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

刘海屏适配有问题 #16

Open
FineXing opened this issue Apr 4, 2019 · 1 comment
Open

刘海屏适配有问题 #16

FineXing opened this issue Apr 4, 2019 · 1 comment

Comments

@FineXing
Copy link

FineXing commented Apr 4, 2019

刘海屏手机在全屏播放的时候 顶部不隐藏

@BAE86AEC1946B6AB60CCD7452DC811F0
Copy link

这个问题困扰我1个月了。

最开始使用 <StatusBar /> 组件化配置,但是不记得出现什么问题,反正后面放弃这种写法,开始参考网上开源项目。

看到这个项目后 使用 paddingTop + StatusBar.currentHeight ,
后面出现偶尔状态条不隐藏的问题(可能因为没计算刘海高度),但是我的手机又是正常的,别人的偶尔出现,我的不是刘海屏,别人的刘海屏,

看到这里我也想请问大家有什么合适的写法?

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