Updating restaurant details

If you click on a restaurant and go to a restaurant detail page, you should see something similar to the following screenshot:

Updating restaurant details

We have some Auto Layout elements that are missing. Let's fix these elements so that they appear correctly on an iPad.

Updating the header layout

First, we need to fix the header information section:

Updating the header layout

We want a gray background and the Labels to expand across the screen and the logo to be in the middle:

  1. Open RestaurantDetail.storyboard and, in the RestaurantDetailViewController, select the View container ...

Get iOS 10 Programming for Beginners 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.