ReactNative iPhone5s等真机出现上下黑边的bu
2018-01-21 本文已影响99人
滕的世界
问题
iOS启动后,上线出现黑边,没有使用.xib,使用的是LaunchImage启动页
问题如图
_420764984778638_686049295_n方案
正确设置好启动图片就可以解决问题了
image.png
设置参考
https://stackoverflow.com/questions/25816759/what-are-iphone-4-7in-and-5-5in-screen-shot-dimensions
http://blog.sina.com.cn/s/blog_6c97abf10102voui.html
三分钟弄懂iPhone X 设计尺寸和适配
http://www.ui.cn/detail/283956.html
以iPhone Inch为例,让你明白UI和WEB的尺寸单位概念
http://www.woshipm.com/pd/562998.html
What iPhone screen size should you get: 4-inches, 4.7-inches, or 5.5-inches?
https://www.imore.com/what-iphone-screen-size-should-you-get
苹果官方Human Interface Guidelines](https://developer.apple.com/design/
https://developer.apple.com/ios/human-interface-guidelines/overview/iphone-x/
https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/image-size-and-resolution/