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

RagingGoat

macrumors 6502
Original poster
Jun 21, 2010
308
15
I've started an iPad app using the Master-Detail template and I'm having one issue. The master view has several rows in it to choose from. When one is selected, the master view goes to another table view. From there, when a row is selected, a web view shows in the detail view. The problem I'm having is that the new detail view is being added to the navigation stack of the detail view. The problem with this is when the user wants to select another row from the master view they have to press the back button on the detail view navigation bar to go back to the default detail view before selecting another row from the master view. If the back button is not pressed before selecting another row, the app crashes. How can I replace the default detail view with my webview when a row is selected instead of just adding it to the navigation stack of the detail view?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.