So,here’s my problem.
When i try to put icons into resources and then select them into IB,once i load the Simulator that icons don’t show up. I tried to clean the project up, but nothing.. It may be the fact that i have “home.png” and “home@2x.png” optimized for retina screen,and it can’t recognize the right one? It’s also happened again,but i solved with this:
- (void)drawRect:(CGRect)rect {
[[UIImage imageNamed:@"image.png"] drawAsPatternInRect:rect];
}
But here? Is there a code for the Tab bar too?
I solved this by making 30×30 high quality icons, so that both standard and retina can read and show them properly.