Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tab Bar Controller item image not showing

I am using xcode 8

I have a simple Tab Bar Controller, I changed the Tab Bar Item image in each View Controller that embedded inside Tab Bar Controller:

enter image description here

However in storyboard, the tab bar item images on Tab Bar Controller doesn't change. When I rum my app, the Tab Bar Controller shows only text without any image at all. What is wrong?

This is on emulator: enter image description here

like image 691
Leem.fin Avatar asked Mar 08 '23 04:03

Leem.fin


1 Answers

Probably you have set Selected Image of Tab Bar Item instead of Image of the Bar Item.

You could use Selected Image to change the Bar Item image when user click over it.

enter image description here

like image 147
Giuseppe Sapienza Avatar answered Mar 15 '23 08:03

Giuseppe Sapienza