Discussion Forums  >  Images, Documents, File Locations

Replies: 5    Views: 122

Adam
Aspiring developer
Profile
Posts: 247
Reg: Oct 23, 2010
Southern Califo...
4,470
08/31/13 10:46 PM (10 years ago)

Tab Bar Icon Quality

I have an unique problem I have retina tab bar icons, but on one of my apps it is showing up in low quality. It doesn't make sense because I used the same exact icon in one of my apps and it shows as in retina. Please share any suggestions. Thanks, Adam
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
09/01/13 03:16 AM (10 years ago)
just the basics... Your image should be named 'image.png'. Your retina image should be named [email protected] Your code should call on 'image.png' and let the system figure out if it needs the retina image or not. Make sure both regular and retina images are correctly added to the project. When you're speaking about Tab Bar icons, remember they can't have color information, they're only greyscale. If your retina image isn't quite right, it will use the regular image in place of it. Cheers! -- Smug
 
Adam
Aspiring developer
Profile
Posts: 247
Reg: Oct 23, 2010
Southern Califo...
4,470
like
09/01/13 07:09 AM (10 years ago)
So which one do I type in on my server in the layout section? Regular or @2X because @2x is 60 by 60 and doesn't fit the iPhone. Thanks, Adam
 
Adam
Aspiring developer
Profile
Posts: 247
Reg: Oct 23, 2010
Southern Califo...
4,470
like
09/01/13 07:28 AM (10 years ago)
Thank you it work. Thanks, Adam
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
09/01/13 03:25 PM (10 years ago)
Adam -- what was your solution? Thanks, -- Niraj
 
Adam
Aspiring developer
Profile
Posts: 247
Reg: Oct 23, 2010
Southern Califo...
4,470
like
09/01/13 03:30 PM (10 years ago)
Niraj, Put .png and @2X.png in the BT_Images folder in Xcode. Upload the .png file on your server (No need for @2X.png on server). Then, it will show up in retina if your device is retina. That should work. Tell me if you need any help. Thanks, Adam
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.