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

Reply
 
LinkBack Thread Tools Display Modes
Old 03-01-2010, 12:52 PM   #1 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 7
Default How to make a "flat" UIToolBar?

I can't find a way to make my bottom UIToolbar without any reflections. I want it completely opaque.

toolbar.opaque = YES doesn't work.
toolbar.translucent = NO doesn't work either.

Any ideas?
odedia is offline   Reply With Quote
Old 03-01-2010, 01:04 PM   #2 (permalink)
Registered Member
 
Join Date: Aug 2008
Location: Memphis, TN, USA
Age: 24
Posts: 3,556
Send a message via ICQ to smithdale87 Send a message via AIM to smithdale87 Send a message via Skype™ to smithdale87
Default

Create a custom uitoolbar?
smithdale87 is offline   Reply With Quote
Old 03-01-2010, 01:05 PM   #3 (permalink)
Emphasizing Fundamentals
 
BrianSlick's Avatar
 
Join Date: Jul 2009
Location: NoVA / DC Area
Age: 36
Posts: 7,129
Default

Add buttons to a plain view?
__________________
BriTer Ideas LLC - Code review, consulting, development. PM for pricing.

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

Are you a newbie? Things you should read:
BrianSlick is online now   Reply With Quote
Old 03-01-2010, 06:00 PM   #4 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 7
Default

Quote:
Originally Posted by BrianSlick View Post
Add buttons to a plain view?
I want it to be a Uitoolbar because I need buttons with numerical badges, and only uitoolbar buttons have those at the moment.

How can I make a custom uitoolbar? Subclass UIToolBar?
odedia is offline   Reply With Quote
Old 03-01-2010, 06:02 PM   #5 (permalink)
Emphasizing Fundamentals
 
BrianSlick's Avatar
 
Join Date: Jul 2009
Location: NoVA / DC Area
Age: 36
Posts: 7,129
Default

You must mean a tab bar, because toolbar buttons don't have badges.
__________________
BriTer Ideas LLC - Code review, consulting, development. PM for pricing.

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

Are you a newbie? Things you should read:
BrianSlick is online now   Reply With Quote
Old 03-01-2010, 06:10 PM   #6 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 7
Talking

Quote:
Originally Posted by BrianSlick View Post
You must mean a tab bar, because toolbar buttons don't have badges.
You are correct. I don't know why I remembered it exists for UIToolbar as well.

So, anyone have an easy way to add badges to regular UIButtons?

I guess I will need to create a specialized UIView to hold the button, the badge and a label with the value in it.
odedia is offline   Reply With Quote
Old 03-09-2010, 04:47 AM   #7 (permalink)
Registered Member
 
Join Date: Jan 2010
Posts: 4
Default

Check out this link to make the toolbar flat: UINavigationBar with solid color or image background | foobarpig.com
sani212 is offline   Reply With Quote
Reply

Bookmarks

Tags
translucent, uitoolbar

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: 255
16 members and 239 guests
2WeeksToGo, ADY, BrianSlick, dacapo, Dani77, Dattee, Duncan C, headkaze, jemicha, kapps11, mer10, mgon987, sneaky, timle8n1
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,879
Threads: 89,228
Posts: 380,743
Top Poster: BrianSlick (7,129)
Welcome to our newest member, mgon987
Powered by vBadvanced CMPS v3.1.0

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