简体   繁体   中英

iOS Tab Bar Item Custom Images

I have been attempting to create a tabbed application with tab bar items that are custom images, but no matter what I do there is always a tint over it.

Is there any way to use the image and preserve all the original colors without it automatically covering it with a tint?

Thank you, any help is appreciated!

这是解决方案

[[UIView appearance] setTintColor:[UIColor clearColor]];

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