PDA

View Full Version : How to switch View after pressing a Navigation Button




RottenApple2
Nov 4, 2009, 05:01 AM
Hi guys, I am new to the forum and I am just beginning programming for the iPhone OS. So...sorry for the basic question! http://images.macrumors.com/vb/images/smilies/confused.gif

I am designing an application which requires multiple views. I have implemented a Navigation bar with a button on the main view and I'd like to switch to another view when the button is pressed.

Any advice on the code needed for this would be HIGHLY appreciated.

Thanks!



robbieduncan
Nov 4, 2009, 05:09 AM
Have you read all of the documentation/guides? I would suggest that you haven't and are being lazy by asking here instead of reading. Try this for a start (http://developer.apple.com/iphone/library/featuredarticles/ViewControllerPGforiPhoneOS/NavigationControllers/NavigationControllers.html#//apple_ref/doc/uid/TP40007457-CH103-SW1).