Swift and Xcode - How to Create Custom Tab Bar Icons

后端 未结 4 1939
太阳男子
太阳男子 2021-01-30 11:34

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

4条回答
  •  粉色の甜心
    2021-01-30 11:51

    Did you create the tab view in interface builder? If so, since you added the images as an asset they should show up in the 'Image' property of each tab button under the inspector sidebar. Also, I know you've already posted a ton of tutorials, but this one is pretty up to date and explains it thoroughly: http://codewithchris.com/ios-tab-bar-app/

提交回复
热议问题