views:

678

answers:

1

Hi, how can I set high qualitiy TabBarIcons so it will look nice on the new iPhone 4 ?

Thx Sebastian

+2  A: 

Add a new png resource at the new resolution and append @2x to the filename. If you are using IB then it should be picked up automatically. If you are using -imageNamed: then don't include the .png extension on the image name.

For example: "TabBarIcon.png" would have a "[email protected]" file that is at double resolution, and will be loaded by UIKit automatically on the iPhone 4.

see Here for more information.

Alan Rogers
Perfect, thx a lot !
Sebastian