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
I am using the following code alter the color of the text as well as the icon:
trendingTabButton.setIcon(icon: .emoji(.fire), iconColor: .red, title: "Title", titleColor: .yellow, backgroundColor: UIColor.clear, borderSize: 0, borderColor: UIColor.clear, forState: .normal)
But when I run this the title is red yet the icon is the default blue still
The text was updated successfully, but these errors were encountered:
@Mochlate I used the code that you mentioned above.
When I ran the project, I got this:
I think you added the button from storyboard and the color is not changed there. Is this a case with your issue?
Sorry, something went wrong.
ranesr
No branches or pull requests
I am using the following code alter the color of the text as well as the icon:
trendingTabButton.setIcon(icon: .emoji(.fire), iconColor: .red, title: "Title", titleColor: .yellow, backgroundColor: UIColor.clear, borderSize: 0, borderColor: UIColor.clear, forState: .normal)
But when I run this the title is red yet the icon is the default blue still
The text was updated successfully, but these errors were encountered: