- In the Outline view, select the container View that is holding the Image view and then the Pin icon. Enter the following values:
-
- Top: 0
- Right: 0
- Left: 0
- Constrain to margins: Unchecked
- Height: 156 (should be checked)
- Click Add 4 Constraints.
- Select the Image view and then the Pin icon. Enter the following values:
-
- Top: 0
- Right: 0
- Bottom: 0
- Left: 0
- Constrain to margins: Unchecked
- Click Add 4 Constraints.
- Select the Label in this exploreCell and then the Pin icon. Enter the following values:
-
- Top: 9
- Right: 8
- Left: 8
- Constrain to margins: Unchecked
- Height: 21 (should be checked)
- Click Add 4 Constraints.
The Explore cell now has all the necessary constraints, and we can now set up the Restaurant cell.