Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Tutorials > Tutorial Requests

Reply
 
LinkBack Thread Tools Display Modes
Old 10-05-2011, 07:33 PM   #1 (permalink)
Registered Member
 
Join Date: May 2011
Posts: 25
Blitzkrieg101 is on a distinguished road
Default TabBar help

Hello,

I am creating a window based app and currently have navigation controllers set up so i am able to go to other views and back with ease but i am stuck my main page currently has buttons on it linking to other normal views with text and the navigation bar at the top but i would like one of the pages to have a tab bar controller but i dont want the tab bar controller to be on my opening view just on the second view when the user presses the certain button to open the new view i have tried using tutorials but because the tabbar controller ones are starting from the start i am lost because i am trying to use my second view as the first view stated in the tutorials is there an easier way to just have a tab bar controller on one page of the app?

Thanks alot.
Blitzkrieg101 is offline   Reply With Quote
Old 12-21-2011, 06:18 AM   #2 (permalink)
Registered Member
 
Join Date: Dec 2011
Location: UK
Posts: 7
RI_tutorials is on a distinguished road
Default

Hi Blitzkrieg101,

In XCode 4.2 drag a new view into your storyboard and select Edit > Embed In> Tab Bar Controller. Then create a segue (Ctrl + click + drag) from your button on the initial view to the grey tab bar view. Repeat the process for each tab in the tab bar view linking it to the view you want it to lead too. To keep a view as your initial view there is a tick box in the attributes/identity inspector (i'm @ work can't remember which) and having this checked means there will be an arrow at the side of that view marking it as your initial view.

I have a tutorial loaded up at http://www.robinsonsintelligence.com...ontroller.html on using tab bar controllers and if it & my comments above don't help, leave a comment and i'll add a new section to the bottom of it.

Last edited by RI_tutorials; 01-08-2012 at 08:32 AM.
RI_tutorials is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Stats
Members: 175,696
Threads: 94,139
Posts: 402,963
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jasper_muc
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:15 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0