I want to change text view keyboard appearance for my app using this
UITextView.appearance().keyboardAppearance = .dark
However, my app crashed with this error
libc++abi.dylib: terminating with uncaught exception of type NSException
The weird thing is that I use the same method for UITextfield
UITextField.appearance().keyboardAppearance = .dark
and it works
Can anyone please explain the reason behind this? Thanks!