How to choose which iPhone model simulator to run my react native app?

前端 未结 2 1916
逝去的感伤
逝去的感伤 2021-02-14 19:53

I am working on react native app, and I do testing on iOS Simulator.

However, it always runs on iPhone 6, and i don\'t know how I can switch to other iPhone models like

2条回答
  •  北海茫月
    2021-02-14 20:52

    react-native run-ios --simulator="iPhone 6s Plus"

    As far as I can tell there is currently no way to specify the OS.

提交回复
热议问题