if you want to test your app in the ios simulator, all you need is to open the root folder of your app in terminal and run −
react-native run-ios
the above command will start the simulator and run the app.
we can also specify the device we want to use.
react-native run-ios --simulator "iphone 5s
after you open the app in simulator, you can press command + d on ios to open the developers menu. you can check more about this in our debugging chapter.
you can also reload the ios simulator by pressing command + r.