Updating the Restaurant Detail screen for iPad

You have already modified the Explore and Restaurant List screens to automatically adapt to the device your app is running on. Now you'll do the same for the Restaurant Detail screen. Build and run the app on the iPad Simulator, and navigate to the Restaurant Detail screen. You should see the screen shown in the following screenshot:

As you can see, the photos and map sections are misaligned. This isn't obvious while running on the iPhone Simulator. Let's fix this now. Perform the following steps:

  1. Click RestaurantDetail.storyboard inside the RestaurantDetail folder in the Project navigator. ...

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.