Closed nico75005 closed 8 years ago
I didn't really have time to check but from what I've seen, the method
public func insertArrangedSubview(view: UIView, atIndex stackIndex: Int) { view.translatesAutoresizingMaskIntoConstraints = false addSubview(view) arrangedSubviews.insert(view, atIndex: stackIndex) }
shouldn't be
public func insertArrangedSubview(view: UIView, atIndex stackIndex: Int) { view.translatesAutoresizingMaskIntoConstraints = false insertSubview(view, atIndex: stackIndex) // addSubview(view) arrangedSubviews.insert(view, atIndex: stackIndex) }
?
The order of the subviews and the arranged subviews are not the same thing.
You're right. Sorry about that.
I didn't really have time to check but from what I've seen, the method
shouldn't be
?