PDA

View Full Version : iphone switsh view



ggyamin
November 16th, 2009, 03:42 AM
Hi,

I would like to ask a question about the difference between navigation and views.

When I have SuperView that holds two instances of subView -1st Subview and 2nd Subview, and I also have a buttonControl insided the 1st Subview, how do I create a code insided the IBaction of the Button that will create a situation in which the 1st Subview will be removed from the superView and the 2nd SubView will be inserted to the SuperView and displayed on the screen.

Thank you,
Binyamin