Skip to content

转屏问题 #3

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

Open
cd711 opened this issue Mar 15, 2017 · 1 comment
Open

转屏问题 #3

cd711 opened this issue Mar 15, 2017 · 1 comment

Comments

@cd711
Copy link

cd711 commented Mar 15, 2017

荣军'启动时和锁屏时的方向不一样会有问题
发现是
const {width: deviceWidth, height: deviceHeight} = Dimensions.get('window')

我改了一下,,把获取屏幕大小的代码放到了constructor 搞定

@cyqresig
Copy link
Contributor

您好,您可以提一个pull request:)

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