Closed lifution closed 3 years ago
This is expected. The following classes are known to not call UIView's traitCollectionDidChange
thus dmTraitCollectionDidChange
cannot be bridged.
UIView subclasses: UIImageView, UILabel, UIDatePicker, UIPickerView UIViewController subclass: UISplitViewController
My suggestion to fix it would be either:
dmTraitCollectionDidChange
traitCollectionDidChange
and apply the same logic on iOS 13@levinli303 Get it, thanks.
iOS 13 and newer, method
dmTraitCollectionDidChange(_ previousTraitCollection: DMTraitCollection?)
not called afteroverrideTraitCollection
updated. This problem appeared inUIImageView
andUILabel
. FluentDarkModeKit version: 1.0.3