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

Reply
 
LinkBack Thread Tools Display Modes
Old 09-01-2011, 10:11 AM   #1 (permalink)
Registered Member
 
Join Date: Sep 2011
Posts: 2
Valentino is on a distinguished road
Question UIView between status bar and UINavigationBar

Hi everybody. This is my first post on this forum so I take this opportunity to greet all the community.

I would like to know what is the best way to have a UIView between the status bar and the navigation bar like in this example. http://tinyurl.com/4y6zcxa

My first idea was to create a custom UIViewController with two UIView, one for the header and one for the main content, then add a UINavigationController as a subview of the main content view.

I read that this is deprecated behavior for different reasons.

Is this the best way to obtain the result I want? Is there an alternative way?

Thanks for your attention.
Valentino is offline   Reply With Quote
Old 09-01-2011, 06:15 PM   #2 (permalink)
Registered Member
 
Objective Zero's Avatar
 
Join Date: Oct 2010
Posts: 1,210
Objective Zero is on a distinguished road
Default

Hey is that pic of FCB Mobile? :P

Anyway the best way to do it is to use a UIViewControllers and just do everything via Interface Builder. You can still use a UINavigationController but just be sure to hide the UINavigationBar they provide since your making one in IB. So in the end, just put it the way you want in IB.
__________________
Questions?

Check out my OCR app!
http://itunes.apple.com/app/ocr-pro/id486512712?mt=8
Objective Zero is offline   Reply With Quote
Old 09-02-2011, 02:46 AM   #3 (permalink)
Registered Member
 
Join Date: Sep 2011
Posts: 2
Valentino is on a distinguished road
Default

Quote:
Originally Posted by Objective Zero View Post
Hey is that pic of FCB Mobile? :P

Anyway the best way to do it is to use a UIViewControllers and just do everything via Interface Builder. You can still use a UINavigationController but just be sure to hide the UINavigationBar they provide since your making one in IB. So in the end, just put it the way you want in IB.
Hi Objective Zero, thanks for your reply. I'll do some tests. Thanks again.

PS. No, it's not FCB Mobile
Valentino is offline   Reply With Quote
Reply

Bookmarks

Tags
uinavigationbar, uiview, uiviewcontroller

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: 394
5 members and 389 guests
JackReidy, jeroenkeij, Sami Gh, yomo710
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,671
Threads: 94,121
Posts: 402,903
Top Poster: BrianSlick (7,990)
Welcome to our newest member, JackReidy
Powered by vBadvanced CMPS v3.1.0

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