Skip to content

Issue with the tint of progressView and button #453

Closed Answered by LeoNatan
leogiroux asked this question in General
Discussion options

You must be logged in to vote

You are using the appearance API incorrectly. appearanceProxy.progressView.tintColor is not a correct syntax that the UIKit system can work with. Instead, you should create an appearance proxy for the progress view, and set that tint color.

let progressViewAppearanceProxy = UIProgressView.appearance(whenContainedInInstancesOf: [LNPopupBar.self, UIViewController.self])
progressViewAppearanceProxy.tintColor = .white

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by LeoNatan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants
Converted from issue

This discussion was converted from issue #446 on June 05, 2021 16:11.