To make the Map screen display a map, you have to add a map view to the view in the view controller scene for the Map screen. Go through the following steps:
- Select the View Controller Scene for the Map screen:
![](https://static.packt-cdn.com/products/9781838821906/graphics/assets/cc79b4e0-34b7-4602-8432-cea3b6264755.png)
- Click the Object library button and type map in the filter field. A Map Kit View object appears as one of the results. Drag it to the View in the View Controller Scene:
- With the Map Kit View selected, click the Add New Constraints button:
- Type 0 into all the Spacing to nearest neighbor fields and make sure that the red struts are selected (they will turn bright red). Click the Add 4 Constraints button.
- The Map Kit View now fills the entire screen:
- Build and run your app. Click the Map button. You should see a map similar to the following one:
![](https://static.packt-cdn.com/products/9781838821906/graphics/assets/5f3c36bb-efd6-4d58-aa3b-1f9b4d63067f.png)
- Wonderful! You've now completed the basic structure of your app!
![](https://static.packt-cdn.com/products/9781838821906/graphics/assets/bc33d0f7-075e-474a-98dc-1025a92759f5.png)