Reputation: 9464
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?
Upvotes: 0
Views: 5816
Reputation: 9464
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
Upvotes: 1