I have a SplitViewController and I'm implementing:
myNavVC?.topViewController?.navigationItem.leftBarButtonItem = splitViewController?.displayModeButtonItem
myNavVC?.topViewController?.navigationItem.leftItemsSupplementBackButton = true
I use it to display the expand button on the view controller when the iPhone 6 Plus or 7 Plus is in .regular
orientation. I would like to trigger an action when the button is touched. How I do this?