AppGuy30
Code is Art
Profile
Posts: 737
Reg: Oct 29, 2011
location unknow...
14,070
01/25/14 02:49 PM (11 years ago)

Tab Bar Icons

Quick question, when using the tab bar, where do I place the icon files for the tab bar in the Xcode project? Thanks, Jack
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/25/14 03:42 PM (11 years ago)
Anywhere you like.
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
01/25/14 04:55 PM (11 years ago)
On a similar topic, I've noticed that the Tabbar icons automatically display as grayscale images. Is there a way to have full color tab bar icons? Also, I know the icon size should be around 30x30, but the resulting quality leaves a bit to be desired... I'm guessing when they get displayed as grayscale they are losing some of their resolution. Any suggestions on the ability to use color, and loss of resolution for tabbar icons?
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
01/25/14 04:55 PM (11 years ago)
In the same location as other images… "typically" the BT_images directory. But truth be told, like Chris said, 'anywhere you like' will work, if you 'drop' them on your project and a dialog box pops up. Keeping them in the BT_images folder is highly encouraged, because it builds a 'standard' procedure that everyone can follow, and any one can help (as long as we're all performing the same steps). If that makes sense to you. Cheers! -- Smug
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
01/25/14 05:01 PM (11 years ago)
@ninja - There are 'ways to emulate' having a color icon on the tab bar, but 'actually' you cannot; they have to be that monocolor style. MGoBlue wrote a tutorial on putting a color icon as the 'center' icon of a tab bar. You could use a similar approach, but your math would need to calculate the positioning of each icon… https://dl.dropboxusercontent.com/u/115208762/Tab_Bar_With_Custom_Center_Tab.pdf With respect to size/resolution, there doesn't seem to be much that can be done. retina style tab bar icons is as 'high quality' as I've been able to achieve. Cheers! -- Smug
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/25/14 05:02 PM (11 years ago)
If you use my tab bar utilities plugin you can have color inages
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
01/25/14 05:05 PM (11 years ago)
Yep, and I did purchase it. I'll be working on it again on Monday and playing with the plugin. That was actually the main reason I bought it, because I noticed how nice your icons looked on the screenshots. :) Thats what made me curious about the color and resolutions. Looks like it will save me mega time on my project.
 

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.