Search code examples
iosswiftfooteruisplitviewcontroller

iOS Static footer in Split View Controller


We're trying to add a static footer in the Root View Controller of our Split View Controller such as in the iOS Mail app:

enter image description here

I've seen mention (1) of how to do this outside of a Split View Controller but haven't been able to get this to work with our Split View configuration.

How can you do this?


Solution

  • Figured this out with a selection of existing SO posts -

    Configured the footer by using our Navigation Controller's toolbar. Just enabled the toolbar for the Nav Controller in our Storyboard.

    Then added a label to the toolbar using a dummy button.

    And centered that label using a flexible space item.