Hi,
I have an app with some tableViews. In those tableViews ist it possible for the user to look at specific detailed views for each cell. In the navigationbar I will build in a selectionButton to enable a switch between this tableView and a mapview. I have done it before but is nor really sure which structure to use for this. My thougt to solve it is:
- add a map as subview in viewDidLoad and set it to hidden
- in viewDidLoad call NSURLConnection in oder to get the data for the map
- When the user pushes the map-choice in the selectionButtonm, the mapview will be set to hidden:NO;
Is this a proper way to solve this? My view is a TableView...
Thanks in advance!
MACLoop
I have an app with some tableViews. In those tableViews ist it possible for the user to look at specific detailed views for each cell. In the navigationbar I will build in a selectionButton to enable a switch between this tableView and a mapview. I have done it before but is nor really sure which structure to use for this. My thougt to solve it is:
- add a map as subview in viewDidLoad and set it to hidden
- in viewDidLoad call NSURLConnection in oder to get the data for the map
- When the user pushes the map-choice in the selectionButtonm, the mapview will be set to hidden:NO;
Is this a proper way to solve this? My view is a TableView...
Thanks in advance!
MACLoop