[UIKit] 다크모드 대응

힐링힐링·2023년 11월 10일
0

UIKIt

목록 보기
1/5

systemBackground 를 해줘야 다크모드에 대응가능

private func setupView() -> Void{
        self.view.backgroundColor = UIColor.systemBackground
        self.view.addSubview(toggleButton)
    }
profile
블로그 이전합니다 https://james-kim-tech.tistory.com/

0개의 댓글