ReactNativeScreenUtil
ReactNative屏幕适配工具类 直接导入引用即可. 新增iPhoneX适配, 让你不用升级ReactNative即可适配iPhoneX.
- ui设计基准
- width:375px
- height:667px
- 可自行修改.
相关链接:
适配iPhoneX的效果及相关方法: http://blog.csdn.net/u011272795/article/details/78592605
屏幕适配工具类使用方法: http://blog.csdn.net/u011272795/article/details/73824558