title: Go back using Unwind segue
body: <p>am using storyboard with navigation controller having three viewControllers, the root controller and the other two remaining labeled as 1 2 and 3 respectively. as shown in the image <img src="https://i.stack.imgur.com/yEpNe.png" alt="enter image description here"> </p>
  
  <p>Now the problem is that i want to come back to the rootViewController and 2nd viewController from the 3rd one using single unWind Segue. I means if i pushed 3rd controller from root than unwind let me back to root controller and if i pushed from 2nd than it let me back to 2nd viewController. I wan to use only single button for going back. any help will be appreciated . Thanks</p>