Implementing the Map screen

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:

  1. Select the View Controller Scene for the Map screen:
  1. 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:

  1. With the Map Kit View selected, click the Add New Constraints button:
  1. Type 0 into all the Spacing to nearest neighbor fields and make ...

Get iOS 13 Programming for Beginners - Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.