Hello
I have a problem in my code. I have an application TabBar controller, with 2 tabs. The first tab is a map, and the second a list of cities(table view). When I click in a city, the application center the map in the city that I selected. So far so good. My problem is that I have a refresh button on the mapview, and I want that, when I click on it can refresh the last city that I selected. I thought I could do it by getting the value of indexpath.row in my list of cities. But I do not know how, and if it's a good idea.
Any suggestions? Thanks