run react native app in ios simulator code example
Example: react native run ios runing the app in simulator not in Iphone
react-native run-ios --device
this is for connected devices
react-native run-ios --simulator="simulator name"
or
react-native run-ios --simulator