The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > iPhone / iPod Touch SDK | Development Discussion
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 08-13-2008, 03:59 AM
What's Jailbreak?
 
Join Date: Apr 2008
Operating System: Mac OS X
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Translucent navigation bar

Hi!

I want to use a translucent navigation bar in my application. Thus I switched the bar style to UIBarStyleBlackTranslucent.

This works fine for table views:

- The table view grows to slide behind the navigation bar
- The table's contents adjust to show only below the navigation bar

HOWEVER, I cannot get the transparent bar to work with other UIView classes:

- The view remains clipped / sized to stay below the navigation bar
- The navigation bar is drawn over a white background (where does this come from)
- Thus the navigation bar shows as 50% grey

Anybody else tried working with translucent navigation bars?

What's the secret?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #2  
Old 08-13-2008, 11:04 AM
Developer
 
Join Date: Jan 2008
Posts: 6
Thanks: 1
Thanked 4 Times in 2 Posts

Use UIView's setBackgroundColor method to make the background of the UINavigationBar clear... Also make sure you're placing the view's x,y coordinates to that of the nav bar so it draws underneath the bar.

Max
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3  
Old 08-13-2008, 02:59 PM
What's Jailbreak?
 
Join Date: Apr 2008
Operating System: Mac OS X
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

Maybe I shouldn't be using UINavigationController. It keeps resizing my view. Yet somehow UITableView manages to work with it.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > iPhone / iPod Touch SDK | Development Discussion

Tags
navbar, translucent, transparent, underneath

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



Go to Top
ModMyI

All times are GMT -6. The time now is 01:24 AM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Top