标签: react-native device-detection
我想根据运行iOS应用程序的设备使用不同的样式。
我如何检测哪个设备正在运行该应用程序?
答案 0 :(得分:1)
设备检测由npm
react-native-device
npm install react-native-device --save
另请参阅:https://github.com/GertjanReynaert/react-native-device