MihaelIsaev / UIKitPlus

🏰 Declarative UIKit with LivePreview for iOS9+ (best alternative to SwiftUI)
MIT License
596 stars 35 forks source link

UVStack's circle() and background(.white) not work on iOS 13 #37

Closed EkkoG closed 2 years ago

EkkoG commented 2 years ago
            UView {

            }.background(.white).height(100).width(100)

this will work

            UVStack {

            }.background(.red).height(100).width(100)

and this will create a UVStack with clear color

EkkoG commented 2 years ago

This is an issue with UIStackView, not UIKitPlus.

https://stackoverflow.com/questions/33927914/how-can-i-set-the-cornerradius-of-a-uistackview

https://stackoverflow.com/questions/34868344/how-to-change-the-background-color-of-uistackview