注意,获取设备信息时,需要导入Dimensions
- import {
- Dimensions
- } from 'react-native';
学习交流:https://gitee.com/potato512/Learn_ReactNative
react-native学习交流QQ群:806870562
注意,获取设备信息时,需要导入Dimensions
- import {
- Dimensions
- } from 'react-native';
学习交流:https://gitee.com/potato512/Learn_ReactNative
react-native学习交流QQ群:806870562