diff --git a/VDS/Classes/Control.swift b/VDS/Classes/Control.swift index 12e8fba4..bd37b435 100644 --- a/VDS/Classes/Control.swift +++ b/VDS/Classes/Control.swift @@ -92,6 +92,7 @@ open class Control: UIControl, Handlerable, ViewProtocol, Resettable { // MARK: - ViewProtocol /// Will be called only once. open func setup() { + backgroundColor = .clear translatesAutoresizingMaskIntoConstraints = false insetsLayoutMarginsFromSafeArea = false } diff --git a/VDS/Classes/View.swift b/VDS/Classes/View.swift index 837d81a8..1671b377 100644 --- a/VDS/Classes/View.swift +++ b/VDS/Classes/View.swift @@ -84,6 +84,7 @@ open class View: UIView, Handlerable, ViewProtocol, Resettable { // MARK: - ViewProtocol /// Will be called only once. open func setup() { + backgroundColor = .clear translatesAutoresizingMaskIntoConstraints = false insetsLayoutMarginsFromSafeArea = false } diff --git a/VDS/Components/Label/Label.swift b/VDS/Components/Label/Label.swift index 2b195de8..7fcc931e 100644 --- a/VDS/Components/Label/Label.swift +++ b/VDS/Components/Label/Label.swift @@ -115,6 +115,7 @@ open class LabelBase: UILabel, Handlerable, ViewProtocol, Resettable { accessibilityCustomActions = [] accessibilityTraits = .staticText numberOfLines = 0 + backgroundColor = .clear } //--------------------------------------------------