MihaelIsaev / UIKitPlus

🏰 Declarative UIKit with LivePreview for iOS9+ (best alternative to SwiftUI)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Constraints won't apply for views added in some specific order

MihaelIsaev opened this issue · comments

Steps to reproduce:

  1. declare some view1
  2. then declare view2 which have relative constraint to view1
  3. add first view2, then view2

Result: relative constraint between view1 and view2 is not applied

Expected result: declared constraints should work as expected

Workaround:
First add view1 then view2