views:

40

answers:

1

I have a view with an Edit button on the right and a Back button on the left. When the user hits the Edit to enter the edit mode, I replace the back button with an Add button.

All works great up to this point. I can't figure out how to display the Back button back again after the Edit button is hit to leave edit mode.

A: 

When you replace your back button with the add button, I suggest you save the old button so that you can replace it.

If you are using a navigation bar, it might be better to put your add button on the right; as a user will expect the back button to remain where it is.

Paul Lynch
Hi Paul,I do use a navigation controller but I have an Edit button on the right.As to your suggestion, the back button is configured in the parent view controller. How can I refer to it from the sub-view controller, where I manage the editing mode?
Tzur Gazit