0

I would like to use different styles depending on the device running an iOS application.

How could I detect which device is running the application?

4

1 回答 1

1

Device detection is enabled by react-native-device package available from npm

npm install react-native-device --save

See also: https://github.com/GertjanReynaert/react-native-device

于 2015-04-19T09:02:18.367 回答