Replacing buttons with other buttons as seen in iPhone camera app

Hello,

I wanted to create a control where upon clicking a button on a tool bar the other buttons would disappear and a new set of controls will open up. This sort of effect can be seen when clicking the flash icon in the iPhone camera app.

What I’m wondering is what is the best way to go about developing this? Would it be better to place a view on top of the current view? All the solutions I can think of seem to have issues I don’t know how to overcome.

Thanks in advance

Worth reading Toolbars to find out how.