Let's review the design for the section header:
Note that we have a + Location button that will display our locations. Let's add that modal now:
- While in the Main.storyboard file, select the object library and, in the filter field at the bottom of the Library pane, type button.
- Drag and drop the Button component into the section header we created in our Explore View Controller:
Ignore the layout warning. We will format the button later regarding location and size, and that will get rid of the warning.
Next, we need to add another View Controller to our storyboard:
- In the filter, type viewcontroller, and drag and drop the ViewController component above the Explore View Controller in Main.storyboard.
- With the View Controller selected, navigate to Editor | EmbedIn | NavigationController.
- Control + drag from where it says Button in the View Controller...