PDA

View Full Version : Switch between 2 views




Paul aka Djuffi
Jul 31, 2008, 10:03 AM
Hi Guys,

I am new in iPhone development. But I have 18 years expirience in Win programming. Ah, guess, it is the root of the problem ;-)

I want to switch between two views. I take this idea from "Metronome" sample by the Apple.

As I see, I do the same, but see just black screen.
I attached my example. Could anybody say what I do wrong or what I did not?

Thank you for your help!



nottooshabby
Aug 1, 2008, 05:31 PM
Hi Guys,

I am new in iPhone development. But I have 18 years expirience in Win programming. Ah, guess, it is the root of the problem ;-)

I want to switch between two views. I take this idea from "Metronome" sample by the Apple.

As I see, I do the same, but see just black screen.
I attached my example. Could anybody say what I do wrong or what I did not?

Thank you for your help!

check out the navbar example code. That helped me a lot. Look at the mainwindow in the interface builder and the code in the app delegate. I'm new to this too and it took me a quite a few hours to get a tab bar working with multiple views. But once I figured it out, it should have taken me 5 minutes if I knew what I was doing.