视频地址https://www.youtube.com/embed/zlZLjQN-kTc
Video Tutorial
- Add first View Controller Segue to new View Controller
- Add Bar Button Item on first View Controller and set target-action
- code in
action:
method addself.porformSegueWithIdentifier
setToolbarHidden(_ hidden: Bool, animated animated: Bool)
- Or set in interface builder

Show and Hide Bottom by code

Show and Hide Bottom set in interface builder
Demo Project on GitHub
More in Segue
Simpler way:
Adding a Segue Between Scenes in a Storyboard
Another way:View Controller segue to View Controller,
your can something more in target-action method.
IOS7, Segue and storyboards - How to create without a button?