반응형
 if (UITraitCollection.current.userInterfaceStyle == .dark) {
                textView.textColor = UIColor.white
            } else {
                textView.textColor = UIColor.black
            }

 

반응형

+ Recent posts