What problems have you experienced with Apple’s auto layout?
If you’re not comfortable with constraint systems yet, just use UIStackView and voilà, it’s a flexbox.
I wish others would start their layout systems based on it (others like React Native, or native Android), then add simplified APIs like flexbox using it if needed/desired.