UIKit's constraint-based layout system isn't as easy as SwiftUI's layout system. SwiftUI layout system is similar to the CSS layout system, so it's easier to learn.
Easier to learn but severely limited in what can be achieved. But also, the springs and struts (“autoresizing masks”) is simpler than the SwiftUI system, but just as powerful.