简体   繁体   中英

Multiple tab bar icons are in selected state in iOS 7.1

In tab bar, only currently active item should be in blue colour. But in iOS 7, multiple item's image are in selected state (blue colour). Apart from iOS-7 ie iOS-8 and above, its working perfectly fine. PFA screenshot here

Check your image in storyboard where you have set, I think you have provide same image for both state, Selected and Normal. This should be your problem.

在此处输入图片说明

Provide different image for both, selected image under Tab Bar Item and image under Bar Item. See above image.

Also you can refer this link. How to change the tab bar image color for selected and unselected

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM