Adding a button to the collection view header

As shown in the app tour in Chapter 9, Setting Up the Basic Structure, there is a LOCATION button at the top right-hand side of the screen. In this section, you'll add a button to the collection view section header, which will eventually become the LOCATION button. Follow these steps to do so:

  1. Make sure the Explore View Controller Scene is selected. Then, click the Object library button:

  1. Type button in the filter field:

Button will appear in the results.

  1. Drag the Button object to the Collection ...

Get iOS 13 Programming for Beginners - Fourth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.