I have one tab bar app. In a specific tab, I use a table view for configuration stuff.
When I click on an item in the table view, I go to the next view (the view of the selected item).
In this second view, I have a validation button, and I need to go back to the previous view when clicking on this button, how this could be achieved ?
I try the [self.view removeFromSuperView] but it just “delete” the current view.
Can somebody help ?
Thanks a lot,
Luc
In such scenario usually navigation controller is used. In that case you will be able to pushViewController/popViewController. If you don’t want to use navigation controller, you should add old view controllers view to superview.