We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
I have the same problem please help me
Sorry, something went wrong.
It looks like the highlightImageColor gets overridden by the tintColor.
highlightImageColor
tintColor
I got this to work by creating my own FluidTabBarItemContentView subclass as follows.
FluidTabBarItemContentView
class CustomContentView: FluidTabBarItemContentView{ private let customHighlightColor: UIColor = .red private let customNormalColor: UIColor = .yellow override func updateDisplay() { super.updateDisplay() imageView.tintColor = selected ? customHighlightColor : customNormalColor } }
Then I simply passed the above subclass into the FluidTabBarItem constructor as follows.
FluidTabBarItem
let customCV = CustomContentView() let homeItem = FluidTabBarItem(customCV, title: "Home", image: homeIcon, tag: 0)
I got the result I want using this workaround but it will be better if the author gave a permanent fix :)
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: