IOS 8: selected image for custom tab bar item set in interface builder not working

I set the Storyboard tab line to Custom, Image to my outline image and Selected image to my fill image, but the selected image does not appear when the application starts.

It works if I create a tab bar item programmatically using UITabBarItem(title: String?, image: UIImage?, selectedImage: UIImage?)

I am using Xcode 6.1.1.

What could be wrong?

+4
source share
3 answers

, Xcode, Image keyPath "selectedImage", .
Tabbed Application ( ): enter image description here

+12

, . , , . . , , . , "" , , .

0

Xcode 9, ( ) .

enter image description here

0

All Articles