i can change my ViewControllers from navigation hierarchy using self.navigationController?.setViewControllers
by passing my desired Viewcontrollers there but i dont how to do the same on my case :
i have 3 tabs say A,B,C
and from A i can push to A2 view controller
and from B's B1 i can also push A2 view controller (open A2 viewcontroller via segue ) but when i'm in this A2 View controller i want to change the View controllers in navigation hierarchy , if i go back from A2 it should took me Tab A how can i do this ??
p.s. if my question is not clear enough then let me know i'll fix it.