Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MACloop

macrumors 6502
Original poster
May 18, 2009
393
0
Germany
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
 
Thanks for the answer! About to make it appear in a modal way... could you describe abit more how you mean that?
Thanks in advance!
MACLoop
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.