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 08-27-2008, 08:50 PM   #1 (permalink)
Registered Member
 
Join Date: Aug 2008
Location: Ireland
Age: 21
Posts: 472
Question Tab Bar icons

Just a quick question on the tab bar control.

What size are the icons. I want to use my own text and icon but can't find the icon size in the documentation.

Anybody know?

Thanks
__________________
On the iOS App Store
kieran12 is offline   Reply With Quote
Old 08-27-2008, 10:22 PM   #2 (permalink)
Registered Member
 
Join Date: Aug 2008
Posts: 177
Default

I just used the screenshot capture and dragged around one of the stock images to guesstimate a good size...I came up with 30x30px, and that actually fit very well.

You could probably go wider depending on your situation, but I think you would only have room to go maybe 5-10px taller.

Also, I used a light gray to dark gray gradient to simulate the stock images. The application automatically applies the blue glow when you click.
skinrock is offline   Reply With Quote
Old 08-27-2008, 11:23 PM   #3 (permalink)
Some guy
 
MattCairns's Avatar
 
Join Date: Jul 2008
Location: Canada
Posts: 103
Send a message via AIM to MattCairns
Default

Yep, I find that anywhere from 25-30px height and width seems to fit quite well. Just eye it, there is no real requirement for their sizes.
MattCairns is offline   Reply With Quote
Old 08-28-2008, 06:50 AM   #4 (permalink)
Registered Member
 
Join Date: Aug 2008
Location: Ireland
Age: 21
Posts: 472
Default

Thanks. I thought about 30 px was right. But when I save the image and add it to my project and set it as the tab bar icon all I get is a blue gradient square. I have tried saving as png, tiff and jpeg but I still get this blue square instead of my image. Any ideas?
__________________
On the iOS App Store
kieran12 is offline   Reply With Quote
Old 08-28-2008, 06:53 AM   #5 (permalink)
Registered Member
 
Join Date: Aug 2008
Location: Ireland
Age: 21
Posts: 472
Default

I've attatched a picture of it to this
Attached Images
File Type: png Picture 1.png (5.6 KB, 911 views)
__________________
On the iOS App Store
kieran12 is offline   Reply With Quote
Old 08-28-2008, 06:55 AM   #6 (permalink)
Registered Member
 
Join Date: Aug 2008
Location: Ireland
Age: 21
Posts: 472
Default

I've attatched a picture of it to this

__________________
On the iOS App Store
kieran12 is offline   Reply With Quote
Old 08-28-2008, 06:56 AM   #7 (permalink)
Registered Member
 
Stitch's Avatar
 
Join Date: Aug 2008
Posts: 401
Default

The tab bar image is 30x30 - mentions it somewhere in the documentation.

You'll also have to supply a grey scale image. The iPhone will automatically fill it with a blue gradient IF it is the selected tab.

At present I do not believe you can change this colour - not with standard methods anyway.

You'll have to include a transparent background if you want it to be transparent.
Stitch is offline   Reply With Quote
Old 08-28-2008, 06:59 AM   #8 (permalink)
Registered Member
 
Stitch's Avatar
 
Join Date: Aug 2008
Posts: 401
Default

You can see examples of tab bar icons in "The Elements" sample code.
Stitch is offline   Reply With Quote
Old 08-28-2008, 07:03 AM   #9 (permalink)
Registered Member
 
Join Date: Aug 2008
Location: Ireland
Age: 21
Posts: 472
Default

Thanks stitch, it was because my image wasn't graysale.
__________________
On the iOS App Store
kieran12 is offline   Reply With Quote
Old 10-03-2008, 05:36 AM   #10 (permalink)
New Member
 
Join Date: Oct 2008
Posts: 1
Default

Quote:
Originally Posted by Stitch View Post
You can see examples of tab bar icons in "The Elements" sample code.
Thanks a lot Stitch!
pulp is offline   Reply With Quote
Old 01-14-2009, 07:39 PM   #11 (permalink)
Registered Member
 
Join Date: Sep 2008
Location: Portland, Oregon
Posts: 46
Default

FWIW, I believe you can size these icons up to about 48x32px and still have the device show them without scaling down...though if you use all that space, the icon just about hits the text below. In practice 30x30 is pretty good. If you need a wider icon (like the 'Featured' searchlights), go to 40 or even 48 wide.
higgins is offline   Reply With Quote
Old 01-15-2009, 05:46 AM   #12 (permalink)
Registered Member
 
Join Date: Jul 2008
Posts: 355
Default

I wonder why Apple made the iPhone deal with pictures in a funny way?

For example, the icons are not stored as RGB, but as BGR, for no apparent reason, it appears
Bucky is offline   Reply With Quote
Old 01-15-2009, 09:40 AM   #13 (permalink)
New Member
 
Join Date: Jan 2009
Location: Connecticut
Posts: 1
Default

From my readings, I have learned that .png is the best format and 57x57 pixels is the correct size. So far this has worked for me.

Debbie
DebbieM is offline   Reply With Quote
Old 02-19-2009, 01:19 PM   #14 (permalink)
Custom graphics designer
 
HookieTookie's Avatar
 
Join Date: Dec 2008
Location: Vladivostok, Russia
Posts: 22
Default

Quote:
Originally Posted by DebbieM View Post
From my readings, I have learned that .png is the best format and 57x57 pixels is the correct size. So far this has worked for me.

Debbie
It's right for App icon, not for tabbar
HookieTookie is offline   Reply With Quote
Old 02-19-2009, 07:11 PM   #15 (permalink)
Registered Member
 
Join Date: Feb 2009
Posts: 6
Exclamation

Hi to all!!
I've try to create a simple grayscale icon 25x25px but Xcode still don't see it!
how it's possible?
did I make a mistake (probably) with photoshop ?
is correct to do25x25 grayscale icons?
thx a lot!
kiavor is offline   Reply With Quote
Old 02-20-2009, 01:59 AM   #16 (permalink)
Custom graphics designer
 
HookieTookie's Avatar
 
Join Date: Dec 2008
Location: Vladivostok, Russia
Posts: 22
Default

tabbar icon should be grayscale PNG file with alpha channel (transparency) and 25x25 seems to be enough
did you put icon file in correct directory (I'm not programmer but it's common trouble) ?

Quote:
Originally Posted by kiavor View Post
Hi to all!!
I've try to create a simple grayscale icon 25x25px but Xcode still don't see it!
how it's possible?
did I make a mistake (probably) with photoshop ?
is correct to do25x25 grayscale icons?
thx a lot!
__________________
http://hookietookie.com - custom iPhone graphics. UI, icons, logos, cartoons and more.
HookieTookie is offline   Reply With Quote
Old 02-20-2009, 04:23 AM   #17 (permalink)
Registered Member
 
Join Date: Feb 2009
Posts: 6
Default

the directory is correct because i can see the preview of the icon in the Xcode...
I'll try to create another icon..
thx!
kiavor is offline   Reply With Quote
Old 03-22-2009, 12:18 AM   #18 (permalink)
New Member
 
Join Date: Mar 2009
Posts: 2
Default

Quote:
Originally Posted by kiavor View Post
the directory is correct because i can see the preview of the icon in the Xcode...
I'll try to create another icon..
thx!
What do you have to name it? I'm kind of new to this
Keeheon is offline   Reply With Quote
Old 04-09-2009, 03:25 PM   #19 (permalink)
New Member
 
Join Date: Apr 2009
Posts: 3
Default iPhone tab bar icon guidelines

Hey guys, just a heads up -- I've published some free (creative commons licensed) iPhone toolbar and tab bar icons at glyphish.com. I also included guidelines on how they work as well as a link to the Apple documentation.

Feel free to download and use them in your apps! I'd love to see screenshots of anywhere they're in use. If you can think of any icons or symbols that'd be good to add to the set, please let me know.
jpwain is offline   Reply With Quote
Old 04-09-2009, 04:36 PM   #20 (permalink)
Registered Member
 
Join Date: Aug 2008
Location: Ireland
Age: 21
Posts: 472
Default

Quote:
Originally Posted by jpwain View Post
Hey guys, just a heads up -- I've published some free (creative commons licensed) iPhone toolbar and tab bar icons at glyphish.com. I also included guidelines on how they work as well as a link to the Apple documentation.

Feel free to download and use them in your apps! I'd love to see screenshots of anywhere they're in use. If you can think of any icons or symbols that'd be good to add to the set, please let me know.
Wow, thanks for taking the time to create the icons. They're really nice.
__________________
On the iOS App Store
kieran12 is offline   Reply With Quote
Old 04-09-2009, 05:02 PM   #21 (permalink)
New Member
 
Join Date: Mar 2009
Posts: 2
Default

Quote:
Originally Posted by kieran12 View Post
Wow, thanks for taking the time to create the icons. They're really nice.
Awesome! Thanks...
Keeheon is offline   Reply With Quote
Old 04-10-2009, 01:57 PM   #22 (permalink)
New Member
 
Join Date: Apr 2009
Location: Atlanta
Posts: 2
Default

Quote:
Originally Posted by jpwain View Post
Hey guys, just a heads up -- I've published some free (creative commons licensed) iPhone toolbar and tab bar icons at glyphish.com. I also included guidelines on how they work as well as a link to the Apple documentation.

Feel free to download and use them in your apps! I'd love to see screenshots of anywhere they're in use. If you can think of any icons or symbols that'd be good to add to the set, please let me know.
Wow! Nice icons.

Thanks!
Towndrunk is offline   Reply With Quote
Old 04-12-2009, 08:58 AM   #23 (permalink)
New Member
 
Join Date: Apr 2009
Posts: 3
Default

Glad you like them!

Let me know if you use them (screenshots or invites to beta test always appreciated ) and please spread the word!

I'm creating a very similar set of icons scaled down sightly to work better as toolbar icons (the "blue bar" kind) and I hope to release it this month.
jpwain is offline   Reply With Quote
Old 04-12-2009, 10:12 AM   #24 (permalink)
Member
 
Join Date: Mar 2009
Location: Near an Apple Store
Posts: 22
Question Tab bar image not working

Fixed tab bar icons.
Thanks!

Quote:
I have the same problem with my tab bar icons coming out looking like a blue square. I tried going into Photoshop and reversing the color (Back and White)
but it still does not work. I tried looking at the Elements sample code but could not see the tab bar icons? Anyone have any ideas?
__________________

Last edited by Desert Sun; 04-12-2009 at 11:16 AM.
Desert Sun is offline   Reply With Quote
Old 04-12-2009, 11:14 AM   #25 (permalink)
Registered Member
 
Join Date: Oct 2008
Location: United States
Posts: 132
Default

Quote:
Originally Posted by jpwain View Post
Hey guys, just a heads up -- I've published some free (creative commons licensed) iPhone toolbar and tab bar icons at glyphish.com. I also included guidelines on how they work as well as a link to the Apple documentation.

Feel free to download and use them in your apps! I'd love to see screenshots of anywhere they're in use. If you can think of any icons or symbols that'd be good to add to the set, please let me know.

Hey jpwain. Thanks for the icons. I never quite understood why artists would spend time on free icons though. How do you guys make money?
Knertified is offline   Reply With Quote
Reply

Bookmarks

Tags
graphics, icon, image, newbie, tab bar

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
» Stats
Members: 158,759
Threads: 89,201
Posts: 380,569
Top Poster: BrianSlick (7,129)
Welcome to our newest member, augustus
Powered by vBadvanced CMPS v3.1.0

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