toggleInspector(_:)
Collapses or expands the first inspector in the split view controller using an animation.
Declaration
@IBAction func toggleInspector(_ sender: Any?)Discussion
If the split view controller doesn’t contain an inspector, calling this method does nothing.