简体   繁体   中英

iOS 8 Tab bar icon color bug

I initialise my tab bar icons on my storyboard with my custom images. When the tab bar appears on the display, it shows my images with a grey color (which is not the original color of the image)

在此处输入图片说明

Once i touch them, the original color appears!!

在此处输入图片说明

I've read that the cause could be the way i initialise my icons (in iOS 7 it works fine) but i've tried many approaches and no one was successful to solve the issue. Can anyone help me here?

尝试更改图像的大小,iPhone 必须为 30x30 像素

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