Closed leogiroux closed 3 years ago
Thanks, I will take a look soon.
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
Hello @LeoNatan
There is a little bug with the tint of progressView and button when presenting a UIViewController modally.
appearanceProxy.tintColor = .yellow
is not set and the color is blue by default instead of the yellow.This is the appearanceProxy init inside an UITabBarController
This how I present the controller with the bug
this the expected result
This is the controller with the bug
Thanks for your help :)