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

Thread: Tab Bar icons
View Single Post
Old 11-07-2011, 12:19 PM   #45 (permalink)
fedyaNyet
Registered Member
 
Join Date: Aug 2010
Posts: 2
fedyaNyet is on a distinguished road
Thumbs up

Quote:
Originally Posted by kieran12 View Post
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?
The Tab Bar uses the black/clear channels to make a mask of the image. Anything non-clear will show up as the image on the tab bar. Use gradients from black to clear to create pretty icons that fit into the 30x30 frame. blurring the edges creates crisper looking images with less pixelation. your images are showing up as boxes because you have an unclear background in your image. Also, though it's a personal preference, I found that ios uses bmp very nicely with any sort of image manipulation and display. it support clear backgrounds, is rather compact in size and most of what cocoa uses is bmp anyways...
fedyaNyet is offline   Reply With Quote
 

» Advertisements
» Online Users: 441
13 members and 428 guests
aqlucky, bardariz01, diane21, elhanche, guillermotricia, iOS.Lover, IphoneSdk, iram91418, jeroenkeij, LunarMoon, nicsmotherman, QuantumDoja, Viekiehug
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,611
Threads: 94,086
Posts: 402,792
Top Poster: BrianSlick (7,990)
Welcome to our newest member, bardariz01
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:02 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.