 |
|
 |
|
 |
08-27-2008, 07:50 PM
|
#1 (permalink)
|
|
Senior Member
Join Date: Aug 2008
Location: UK
Posts: 299
Rep Power: 1
|
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
|
|
|
08-27-2008, 09:22 PM
|
#2 (permalink)
|
|
Senior Member
Join Date: Aug 2008
Posts: 154
Rep Power: 1
|
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.
|
|
|
08-27-2008, 10:23 PM
|
#3 (permalink)
|
|
Some guy
Join Date: Jul 2008
Location: Canada
Posts: 103
Rep Power: 1
|
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.
|
|
|
08-28-2008, 05:50 AM
|
#4 (permalink)
|
|
Senior Member
Join Date: Aug 2008
Location: UK
Posts: 299
Rep Power: 1
|
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?
|
|
|
08-28-2008, 05:53 AM
|
#5 (permalink)
|
|
Senior Member
Join Date: Aug 2008
Location: UK
Posts: 299
Rep Power: 1
|
I've attatched a picture of it to this
|
|
|
08-28-2008, 05:55 AM
|
#6 (permalink)
|
|
Senior Member
Join Date: Aug 2008
Location: UK
Posts: 299
Rep Power: 1
|
I've attatched a picture of it to this
|
|
|
08-28-2008, 05:56 AM
|
#7 (permalink)
|
|
Senior Member
Join Date: Aug 2008
Posts: 314
Rep Power: 1
|
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.
|
|
|
08-28-2008, 05:59 AM
|
#8 (permalink)
|
|
Senior Member
Join Date: Aug 2008
Posts: 314
Rep Power: 1
|
You can see examples of tab bar icons in "The Elements" sample code.
|
|
|
08-28-2008, 06:03 AM
|
#9 (permalink)
|
|
Senior Member
Join Date: Aug 2008
Location: UK
Posts: 299
Rep Power: 1
|
Thanks stitch, it was because my image wasn't graysale.
|
|
|
10-03-2008, 04:36 AM
|
#10 (permalink)
|
|
Junior Member
Join Date: Oct 2008
Posts: 1
Rep Power: 0
|
Quote:
Originally Posted by Stitch
You can see examples of tab bar icons in "The Elements" sample code.
|
Thanks a lot Stitch!
|
|
|
01-14-2009, 06:39 PM
|
#11 (permalink)
|
|
Member
Join Date: Sep 2008
Location: Portland, Oregon
Posts: 44
Rep Power: 0
|
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.
|
|
|
01-15-2009, 04:46 AM
|
#12 (permalink)
|
|
Senior Member
Join Date: Jul 2008
Posts: 333
Rep Power: 0
|
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
|
|
|
01-15-2009, 08:40 AM
|
#13 (permalink)
|
|
Junior Member
Join Date: Jan 2009
Location: Connecticut
Posts: 1
Rep Power: 0
|
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
|
|
|
02-19-2009, 12:19 PM
|
#14 (permalink)
|
|
Custom graphics designer
Join Date: Dec 2008
Location: Vladivostok, Russia
Posts: 15
Rep Power: 0
|
Quote:
Originally Posted by DebbieM
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
|
|
|
02-19-2009, 06:11 PM
|
#15 (permalink)
|
|
Junior Member
Join Date: Feb 2009
Posts: 2
Rep Power: 0
|
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!
|
|
|
02-20-2009, 12:59 AM
|
#16 (permalink)
|
|
Custom graphics designer
Join Date: Dec 2008
Location: Vladivostok, Russia
Posts: 15
Rep Power: 0
|
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
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!
|
|
|
|
02-20-2009, 03:23 AM
|
#17 (permalink)
|
|
Junior Member
Join Date: Feb 2009
Posts: 2
Rep Power: 0
|
the directory is correct because i can see the preview of the icon in the Xcode...
I'll try to create another icon..
thx!
|
|
|
03-21-2009, 11:18 PM
|
#18 (permalink)
|
|
Junior Member
Join Date: Mar 2009
Posts: 2
Rep Power: 0
|
Quote:
Originally Posted by kiavor
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
|
|
|
04-09-2009, 02:25 PM
|
#19 (permalink)
|
|
Junior Member
Join Date: Apr 2009
Posts: 3
Rep Power: 0
|
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.
|
|
|
04-09-2009, 03:36 PM
|
#20 (permalink)
|
|
Senior Member
Join Date: Aug 2008
Location: UK
Posts: 299
Rep Power: 1
|
Quote:
Originally Posted by jpwain
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.
|
|
|
04-09-2009, 04:02 PM
|
#21 (permalink)
|
|
Junior Member
Join Date: Mar 2009
Posts: 2
Rep Power: 0
|
Quote:
Originally Posted by kieran12
Wow, thanks for taking the time to create the icons. They're really nice.
|
Awesome! Thanks...
|
|
|
04-10-2009, 12:57 PM
|
#22 (permalink)
|
|
Junior Member
Join Date: Apr 2009
Location: Atlanta
Posts: 2
Rep Power: 0
|
Quote:
Originally Posted by jpwain
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!
|
|
|
04-12-2009, 07:58 AM
|
#23 (permalink)
|
|
Junior Member
Join Date: Apr 2009
Posts: 3
Rep Power: 0
|
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.
|
|
|
04-12-2009, 09:12 AM
|
#24 (permalink)
|
|
Member
Join Date: Mar 2009
Location: Near an Apple Store
Posts: 19
Rep Power: 0
|
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 10:16 AM.
|
|
|
04-12-2009, 10:14 AM
|
#25 (permalink)
|
|
Senior Member
iPhone Dev SDK Supporter
Join Date: Oct 2008
Location: United States
Posts: 114
Rep Power: 1
|
Quote:
Originally Posted by jpwain
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?
|
|
|
 |
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
» Advertisements |
|
» Online Users: 260 |
| 25 members and 235 guests |
| amoll, bensj, BostonMerlin, crossfire, dapis, DGuy, Dracor, Groucho, heinrich, idigit, Jeremy1026, Jume, kaleman, lastiko, lildragon, mattjgalloway, mnemonic_fx, odysseus31173, Oliver Drobnik, Opticfibre, shabzcohelp, Sicga, tonylmiller, utopiaplan, wolkje |
| Most users ever online was 779, 05-11-2009 at 09:55 AM. |
» Stats |
Members: 8,229
Threads: 20,197
Posts: 90,213
Top Poster: RickMaddy (2,121)
|
| Welcome to our newest member, jrsiqueira |
|