Running your app in Simulator
Simulator is downloaded and installed after you install Xcode. It provides a simulated iOS device so that you can see what your app looks like and how it behaves, without needing a physical iOS device. It can model all the screen sizes and resolutions for both iPad and iPhone so you can test your app on multiple devices easily.
To run your app in Simulator, follow these steps:
Click the Destination pop-up menu to view a list of simulated devices. Choose iPhone SE (3rd generation) from this menu:
- Click the Run button to install and run your app on the currently selected simulator. You can also use the Command + R keyboard shortcut.
Simulator will launch and show a representation of an iPhone SE (3rd generation). Your app displays a white screen, as you have not yet added anything...