So from the template you have, right out the box :
1. at left : a UISplitViewController, named Master View Controller
2. UISplitViewController goes through telationship to 2 navigation controllers
3. - nav 1, connected to MasterViewController through relationship
this MasterViewController contains a tableView
4. - nav2, connected to detailViewController through relationship
5. tableView is connected to nav2 through a show detail segue (ex replace)
Now, to connect to your post:
From the master view controller A to detail view controller B, my app used the navigation bar.
Do you speak of connection described at point 4, or something different you set up in your app ?
from the detail view controller B to another view controller C, is there any way to use
just show segue without navigation bar, but have both the Save and Cancel Button?
I do not get those Save and Cancel Button. Did you add in code ?
Anyway, if you use a present modally segue (not a push), you go to VC C without showing navBar
To return, I included an IBAction for unwindSegue and connected a Return Button in VC C to the exit button of VC C (selecting unwindFromViewControllerC)
@IBAction func unwindFromViewControllerC(_ sender: UIStoryboardSegue) {
}
Right now, if using show segue, it only have one automatic generated back button.
Back Button, with the name of VC B I guess ?
With the present Modally, no such button.
How to get two buttons without Navigation Bar?
Which buttons ? Save and Cancel ?
Then you should have to add the buttons in VC C