I have a tabbed application project I am working on in Xcode written in Swift (Xcode 6.3 and Swift 1.2
). I am having a lot of trouble with custom Tab Bar icons. I
After a bit of research I resolved the issue, so thought I'd post here in case anyone else has a similar issue. In Photoshop I did the following:
75x75 pixels
(and named imageName@3x.png
), 50x50 pixels
(and named imageName@2x.png
), and 25x25 pixels
(and named imageName.png
)In Xcode I did the following:
icoImageName
.icoImageName
. Note that I did not set the 'Selected Image' under the 'Tab Bar Item' (leave this blank).Done.
I hope this helps someone. Thanks to everyone for their help as well.