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 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.