Closed grantespo closed 3 years ago
Looks like the only way to achieve this was to naturally re-call viewDidLoad
by re-instantiate the vc.
Ex; the vc was a child viewcontroller, so I did this
myVC.removeFromParent()
myVC = storyboard?.instantiateViewController(identifier: "MyVC") as? MyVC
addChild(myVC)
Hello, I've been using this library successfully for quite sometime.
I usually setup by buttonBarView by calling this code before
viewDidLoad()
This code works great. Howver, in my app, users can choose whether they want dark mode or light mode in the app settings.
So, is it possible to change buttonBarView's colors after viewDidLoad? Or am I forced to re-instantiate the entire viewController?