I'm trying to create a UITableViewCell which contains 3 subviews - a button, and two labels. The table view cell should look like this:
Button --Label 1-----------
--Label 1 continued--
--Label 2-----------------
--Label 2 continued ------
Currently, I have button one, with leading, top, width, and height constraints pinning it to the top left. Label 1 has a leading constraint from the Button, top, left and bottom constraints to the content view. Label 1 has number of lines set to 0 and can dynamically expand, and this works so far.
I'm having trouble figuring out how to set constraints for Label 2 so that it is always below Label 1 and can also expand.
I've tried setting a top constraint on Label 2 to the bottom of Label 1, with all other sides pinned to the content view, but this gave the error that height and vertical position were ambiguous. What constraints do I need to add for Label 2?