I have a sign in apple button. It has style .black in light mode:
let button = ASAuthorizationAppleIDButton(type: .signIn, style: .black)
I want it to have style .white in dark mode
Accessing the style to change it does not seem possible like this:
button.style = .white
Does someone know if this is possible in a clean way? Without having to recreate a button when the
traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
detects a mode change?