-
Hello @LeoNatan There is a little bug with the tint of progressView and button when presenting a UIViewController modally. This is the appearanceProxy init inside an UITabBarController This how I present the controller with the bug This is the controller with the bug Thanks for your help :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You are using the appearance API incorrectly. let progressViewAppearanceProxy = UIProgressView.appearance(whenContainedInInstancesOf: [LNPopupBar.self, UIViewController.self])
progressViewAppearanceProxy.tintColor = .white |
Beta Was this translation helpful? Give feedback.
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.