I'm calling the following code fragment to swap a view.(on top of screen, there's a UISegmentedControl
to switch views)
SomeViewController* vc = [[SomeViewController alloc] init];
self.view = vc.view;
When user can switch back to original view by clicking the first button on the UISegmentedControl
.
How should I recreate the view?