Question · React Native course · Module 2: Lists and styles

Platform.OS

What values can Platform.OS return?

Answer options

  • 'mobile' or 'desktop'
  • 'ios', 'android', 'web' and others
  • 'apple' or 'google'
  • Only 'ios' or 'android'
Show the answer

Correct answer:

  • 'ios', 'android', 'web' and others