TabView Help: clicking on a button and loading xib hides tab
Hey all, i'm really new to all this iphone dev and i'm just trying to get some stuff working. I have a tabView controller that has 5 tabs. Each tab loads a xib file. In the first xib file i have 4 buttons. When i click on one of the buttons i am making it load a new xib. the problem is that by doing this, it loads the xib, but it seems to load it over the tabView.... another words, the tab bar disappears. How do i fix this. Thanks all!
presentModalViewController will take over the whole screen. If you still want to see the tab bar, then you should do something else. Perhaps use a navigation controller to push the new view controller.
presentModalViewController will take over the whole screen. If you still want to see the tab bar, then you should do something else. Perhaps use a navigation controller to push the new view controller.
here's the layout i'm trying to do:
click on the about, it takes u to the about.xib with the tabs on the bottom.
Neither. It will be the first view controller in your Welcome tab. You will specify which view controller should appear first in the navigation controller.
Neither. It will be the first view controller in your Welcome tab. You will specify which view controller should appear first in the navigation controller.
sorry dude, i'm a noob. you kinda lost me there. I used the TabBar Application template.
The first tab is set to welcome.xib. Where do i stick the navigation controller to? Won't sticking the navigation controller also place a tabbar on top of the initial design... i.e.
so how do i go abouts doing that? In IB, i select the first tab and (what i did before) then select the welcome. how do you select a navigation conroller?
so how do i go abouts doing that? In IB, i select the first tab and (what i did before) then select the welcome. how do you select a navigation conroller?
Hold on... i just realized something. How will it be with the tab buttons. do each one load a navcontroll or only the one i want.
TabController
tab1
(NavC)
Welcome
About
Videos
etc
Dude, Thanks a million!!!! I finally got some stuff going. Another question for you... how do i make it so the fourth button on my welcome screen says something like contact us. when the user clicks, it brings up a menu from the bottom that will have 3 options: call us (click it and it dials), email (click and email opens up), and cancel. Here's a screenshot from an app i have that has that menu i'm referring to.
Alright, so that's not in IB then. Thanks a lot. You really rock. One more before i'm done... from the loading of the page... (push.... xib). how do i go back to the welcome screen
okay, i'm real close now. I got the navigation working. i click on one of the four buttons and it slides to my "Page1.xib" (about us). Now, on the Welcome.xib, i have the navigation controller hidden. When i click on the About button and load the Page1.xib, how do i get the controller to show up with the back button? I tried adding a navigation controller in IB but that doesn't seem to connect to the original nav controller.