The task is this, there are 3 tabs in tabBar, main + History + map. The history tab is a tableView, by clicking on one of the cells, a transition is made to the MAP tab, with which the data transfer also occurs. I made the transition through the show, transmitted data over a segway, and everything was fine, BUT the shown controller with the card, with successfully received data, is NOT part of the tabBar, it opens separately, respectively, the lower part with the tabBar button bar is dead, just a white bar.

How do I go to a cell / button on a tap to go to another TabBar tab, transferring data and not leaving TabBarController?

    1 answer 1

    tabBarController.selectedIndex = 1