Adding a table view to the Locations screen

When you tap the button in the collection view section header of the Explore screen, another view representing the Locations screen will be presented modally, but it will be blank. Let's add a table view to this view. Go through the following steps:

  1. Build and run the Lets Eat app to make sure everything still works as it should. Tap the Button in the Collection Reusable View of the Explore screen. A second view will appear showing the Cancel and Done buttons. Note that the screen is blank. Tap the Cancel button and stop the app.
  1. Click Main.storyboard and select the View Controller icon in the View Controller Scene, which is presented modally by the button in the Explore View Controller Scene ...

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.