Switching views with segmented controller iphone
<p>I present a UIViewcontroller modally. On this screen I want a UIToolbar at the bottom with a segmented controller with 2 options. What is the correct way of doing this, I want the toolbar and segmented controller to be visible on both uiviewcontroller that the user can toggle between. One approach would be to add a toolbar and segmented controller to both viewcontrollers but this would duplicate the code, and probaly is not correct way of doing it. </p>

<p>Any help much appriciated.</p>
