0

I have a different Selected Image for each Tab Bar Items. I gave the correct file name under Attributes Inspector -> Tab Bar Item -> Selected Image. But all I got is blue tint over my images. Selected Image does not displays.

Tried setting the image under User Defined Runtime Attributes. This doesn't work.

serdar aylanc
  • 1,307
  • 2
  • 20
  • 37
  • This question appears to be a duplicate (see [here](http://stackoverflow.com/questions/21386101/setting-selected-image-in-tab-bar-controller-with-storyboard)), but to be fair, from the comments on the linked question, it is clear that with new versions of Xcode the question is once again apparently un-answered. – Max von Hippel Oct 08 '16 at 14:19
  • were you able to resolve the issue? – Bista Oct 20 '16 at 04:42
  • I created a custom tabbarcontroller.swift and change selected images there. And it work. Storyboard things didn't worked for me – serdar aylanc Oct 22 '16 at 14:10

1 Answers1

11

Select image in Assets.xcassets and set its 'Render as' property to Original image.

enter image description here

Bista
  • 7,869
  • 3
  • 27
  • 55