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

Mockup & CodeGen, iPhone & iPad
($9.99)

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

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development > iPhone SDK Development - Advanced Discussion

Reply
 
LinkBack Thread Tools Display Modes
Old 03-22-2009, 11:56 PM   #1 (permalink)
Registered Member
 
Join Date: Jan 2009
Posts: 36
Default Navigation controller awkward placement issue

So what I'm trying to do is this:

I have an app that uses a tab bar layout. On one of it's view controllers, I need to display a view that updates real time changes to an image, occupying the upper part of the screen. On the bottom half of the screen I want to display a tableview that uses the navigation controller to push and pop views BUT ONLY ON THE BOTTOM HALF! The top image must stay put.

My problem is that I am too reliant on IB for creating iPhone GUI. I've tried using [self.view addSubview: image] and [self.view addSubview: navController.view], but I get errors when I click on the tab bar button for that view controller.

Any suggestions or ideas as to what I should do? Thanks.

Edit: Disregard question, I simply seen examples of GUI being created programmatically, and had to build the view in the viewDidLoad{..} method of the viewController corresponding to the tab.

Last edited by Micksabox; 03-23-2009 at 06:59 PM. Reason: Found solution
Micksabox is offline   Reply With Quote
Old 06-03-2009, 09:47 AM   #2 (permalink)
New Member
 
Join Date: Jun 2009
Posts: 1
Default

Quote:
Originally Posted by Micksabox View Post
So what I'm trying to do is this:

I have an app that uses a tab bar layout. On one of it's view controllers, I need to display a view that updates real time changes to an image, occupying the upper part of the screen. On the bottom half of the screen I want to display a tableview that uses the navigation controller to push and pop views BUT ONLY ON THE BOTTOM HALF! The top image must stay put.

My problem is that I am too reliant on IB for creating iPhone GUI. I've tried using [self.view addSubview: image] and [self.view addSubview: navController.view], but I get errors when I click on the tab bar button for that view controller.

Any suggestions or ideas as to what I should do? Thanks.

Edit: Disregard question, I simply seen examples of GUI being created programmatically, and had to build the view in the viewDidLoad{..} method of the viewController corresponding to the tab.
Could you point me to the sample code that you used? I'm trying to achieve the same basic idea as you describe, a navigation controller but only on the bottom half of the screen.
leukosaima is offline   Reply With Quote
Reply

Bookmarks

Tags
navigation controller

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
» Online Users: 277
24 members and 253 guests
ADY, AragornSG, Bertrand21, Dani77, Dattee, fkmtc, HDshot, HemiMG, iDifferent, jakerocheleau, JasonR, jimbo, macquitzon216, mer10, NSeven, prchn4christ, Rudy, sacha1996, silverwiz, sneaky, spiderguy84, Sunny46, theone8one
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,885
Threads: 89,230
Posts: 380,767
Top Poster: BrianSlick (7,129)
Welcome to our newest member, bookesp
Powered by vBadvanced CMPS v3.1.0

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