I am learning to use the constraints system in Xcode, and it is pretty cool. But I am getting some weird errors I don't understand. For example this "View X Needs Constraints for Y Position or Height".
This view is within a StackView, which I thought sort of automatically determined its subviews widths and heights. But in order to try to eliminate this error, I added a constraint setting the top to equal the top of the stackview -- that's the same as a Y position, right? And I don't want a static height so I added a Height >= 40 and Height is <= 56 constraint. Shouldn't those all be enough to get rid of the warning? It's still there.