We have our static Table View set up now, we need another view that allows us to view restaurant reviews. Let's add that next:
- In the filter field, you are going to type:
button
. Drag this button and put it next to the one of thetableview
cells:
- Next, select the
Main.storyboard
file, making sure that you are zoomed out and can see all of your scenes (depending on your screen resolution). In the Utilities panel, ensure that you have the object library tab selected. - In the filter field, you are going to type
viewcontroller
. Drag this view controller and put it next to the Restaurant Detail View Controller. - Next, in the filter field, you are going to type
label
. - Click on and drag Label and drop it onto the new
View Controller
we just added next to the Restaurant Detail View Controller. - After you drop it onto the scene, double-click in the label and add the text—
Reviews
. - Next, select the Align icon that is to the left of the Pin icon and check the following boxes that appear...