From 06407f60fdf9c7f5ca40054f76b91496479256f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Marti=CC=81nez=20Medina?= Date: Fri, 17 May 2024 12:35:31 +0200 Subject: [PATCH] IOS-10163: Send gradient view to back when added --- Sources/Mistica/Utils/Extensions/UIView+Utils.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/Mistica/Utils/Extensions/UIView+Utils.swift b/Sources/Mistica/Utils/Extensions/UIView+Utils.swift index 93c94ded..a6ed1c85 100644 --- a/Sources/Mistica/Utils/Extensions/UIView+Utils.swift +++ b/Sources/Mistica/Utils/Extensions/UIView+Utils.swift @@ -31,6 +31,7 @@ extension UIView { gradientView.view.autoresizingMask = [.flexibleWidth, .flexibleHeight] layer.masksToBounds = true addSubview(withDefaultConstraints: gradientView.view) + sendSubviewToBack(gradientView.view) } // MARK: Blur effect