How to recognize the OS (Android / iOS) of a mobile device in Mendix native?

0
Hi  Please help me to find out in which os my application is running. Because i need to give a dynamic class for iOS and android seperatly. so how we can recognize the OS (Android / iOS) of a mobile device in Mendix native?
asked
1 answers
0

Check out the styling files for your app. You’ll find clauses like this that allow you to define different styling per OS:

Platform.select({
      ios: {
        backgroundColor: 'red'
      },
      android: {
        backgroundColor: 'green'
      }
answered