Is there a way to check Device Model in Simulator?

I want to know the Device model on the simulator I’m using but I don’t know how to.

this is what I print from Constants.Platform

Object {
  "ios": Object {
    "buildNumber": null,
    "model": "Simulator",
    "platform": "x86_64",
    "systemVersion": "12.1",
    "userInterfaceIdiom": "handset",
  },
}

But there is no data, what model of my simulator is for example iphone X, iphone 5.

Where I can get those data? or there is no way we can get the data currently?

Hey @kendojaaa- if you take a look at the source code, you’ll see that that’s expected behavior. I don’t think there’s currently a way to get the Simulator model from the Constants API

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.