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 Development > iPhone SDK Development - Advanced Discussion

Reply
 
LinkBack Thread Tools Display Modes
Old 09-02-2009, 04:05 PM   #1 (permalink)
Registered Member
 
Join Date: Sep 2009
Posts: 1
Lighter991 is on a distinguished road
Default Image above the Navigation Bar

I'm currently building an iPhone app where the root controller is a Tab Bar and the secondary controller is a Navigation Bar. There are several apps that have an image/logo on top of the Navigation Bar, but I can't seem to be able to do this. I also can't find any documentation on how to do this. I have made several attempts, my latest being:

Tab Controller -> View Controller (with image) -> Navigation Controller

This didn't work. Does anyone know how to place a screen-width image between the Status bar and the Navigation Bar? If you have links to tutorials, I would appreciate it!

Thank you!!
Lighter991 is offline   Reply With Quote
Old 09-16-2009, 11:53 AM   #2 (permalink)
Registered Member
 
Join Date: Sep 2009
Posts: 2
o2plus2h is on a distinguished road
Default

Quote:
Originally Posted by Lighter991 View Post
I'm currently building an iPhone app where the root controller is a Tab Bar and the secondary controller is a Navigation Bar. There are several apps that have an image/logo on top of the Navigation Bar, but I can't seem to be able to do this. I also can't find any documentation on how to do this. I have made several attempts, my latest being:

Tab Controller -> View Controller (with image) -> Navigation Controller

This didn't work. Does anyone know how to place a screen-width image between the Status bar and the Navigation Bar? If you have links to tutorials, I would appreciate it!

Thank you!!

Did you ever find a solution to this? I am also in the same boat.

Thanks
o2plus2h is offline   Reply With Quote
Old 09-20-2009, 11:40 PM   #3 (permalink)
Emphasizing Fundamentals
 
BrianSlick's Avatar
 
Join Date: Jul 2009
Location: NoVA / DC Area
Age: 36
Posts: 7,990
BrianSlick has a spectacular aura about
Default

I haven't tried this, but you can hide the navigation bar that comes with a navigation controller. Then you layout a view in IB and place a navigation bar (just a bar, not a controller) anywhere you want. You'd probably have to create an outlet for the navigation bar, because you'll have to cover some of the functions yourself (back button item, title, etc), but it may not be too bad. Worth trying, at any rate.
__________________
BriTer Ideas LLC - Professional iOS App Development. Available for hire.

SlickShopper 2 | Free NSLog utility | Leave a PayPal donation.

Are you a newbie? Things you should read:
Definitive Guide To Properties | UITableView Series | Guide To Troubleshooting | Model Object Overview

Do you sit at a desk all day? Walk instead! Follow along with my treadmill desk adventures.
BrianSlick is offline   Reply With Quote
Old 11-08-2009, 03:56 PM   #4 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 4
megatron is on a distinguished road
Default

Quote:
Originally Posted by BrianSlick View Post
I haven't tried this, but you can hide the navigation bar that comes with a navigation controller. Then you layout a view in IB and place a navigation bar (just a bar, not a controller) anywhere you want. You'd probably have to create an outlet for the navigation bar, because you'll have to cover some of the functions yourself (back button item, title, etc), but it may not be too bad. Worth trying, at any rate.

Sorry, miss read the first post.

Thanks

megatron

Last edited by megatron; 11-09-2009 at 05:31 AM.
megatron is offline   Reply With Quote
Old 11-08-2009, 09:19 PM   #5 (permalink)
Emphasizing Fundamentals
 
BrianSlick's Avatar
 
Join Date: Jul 2009
Location: NoVA / DC Area
Age: 36
Posts: 7,990
BrianSlick has a spectacular aura about
Default

Quote:
Originally Posted by megatron View Post
The way to do this is on Apples iPhone Developer Center under the source of NavBar.

Thanks

megatron
If you are going to bump a month-old thread, at least take the time to read the question that was asked, and make your answer relate to that. The OP is clearly asking how to put an image above the nav bar (note the title of the thread and the clear description of the desired location for the image). Your answer puts an image in the nav bar, and thus does not apply.
__________________
BriTer Ideas LLC - Professional iOS App Development. Available for hire.

SlickShopper 2 | Free NSLog utility | Leave a PayPal donation.

Are you a newbie? Things you should read:
Definitive Guide To Properties | UITableView Series | Guide To Troubleshooting | Model Object Overview

Do you sit at a desk all day? Walk instead! Follow along with my treadmill desk adventures.
BrianSlick is offline   Reply With Quote
Old 06-02-2010, 09:46 AM   #6 (permalink)
Registered Member
 
Join Date: Feb 2010
Posts: 12
gammapoint is on a distinguished road
Unhappy Banner image above Naviagation Bar?

Quote:
Originally Posted by Lighter991 View Post
I'm currently building an iPhone app where the root controller is a Tab Bar and the secondary controller is a Navigation Bar. There are several apps that have an image/logo on top of the Navigation Bar, but I can't seem to be able to do this. I also can't find any documentation on how to do this. I have made several attempts, my latest being:

Tab Controller -> View Controller (with image) -> Navigation Controller

This didn't work. Does anyone know how to place a screen-width image between the Status bar and the Navigation Bar? If you have links to tutorials, I would appreciate it!

Thank you!!
Looks like this is still unsolved.
gammapoint is offline   Reply With Quote
Old 06-02-2010, 10:42 AM   #7 (permalink)
Emphasizing Fundamentals
 
BrianSlick's Avatar
 
Join Date: Jul 2009
Location: NoVA / DC Area
Age: 36
Posts: 7,990
BrianSlick has a spectacular aura about
Default

Quote:
Originally Posted by gammapoint View Post
Looks like this is still unsolved.
Way to read the thread.

If the previously-mentioned option is not sufficient, then add the image view directly to the window, and change the frame of the navigation controller accordingly.
__________________
BriTer Ideas LLC - Professional iOS App Development. Available for hire.

SlickShopper 2 | Free NSLog utility | Leave a PayPal donation.

Are you a newbie? Things you should read:
Definitive Guide To Properties | UITableView Series | Guide To Troubleshooting | Model Object Overview

Do you sit at a desk all day? Walk instead! Follow along with my treadmill desk adventures.
BrianSlick is offline   Reply With Quote
Old 06-02-2010, 10:54 AM   #8 (permalink)
Registered Member
 
Join Date: Feb 2010
Posts: 12
gammapoint is on a distinguished road
Default

Quote:
Originally Posted by BrianSlick View Post
If the previously-mentioned option is not sufficient, then add the image view directly to the window, and change the frame of the navigation controller accordingly.

Thanks for the quick reply.

I tried a similar suggestion posted on another thread. It is working. Here's code I added.

Here's an example of how Myspace uses the banner above Nav Controller:
Attached Images
File Type: jpg IMG_0027.jpg (10.7 KB, 18 views)

Last edited by gammapoint; 06-03-2010 at 05:35 PM.
gammapoint is offline   Reply With Quote
Reply

Bookmarks

Tags
custom, image, logo, navigation bar, teletubby

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: 356
8 members and 348 guests
.Snipe, BSH, givensur, guusleijsten, HemiMG, NSString, Paul Slocum, SillyHoney
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,645
Threads: 94,111
Posts: 402,862
Top Poster: BrianSlick (7,990)
Welcome to our newest member, leighec68
Powered by vBadvanced CMPS v3.1.0

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