I have two labels on one line. I need the second label to be right up against the end of the first label, but I need to make sure the second label never runs past the edge of the screen.
So I have label1's left anchor aligned to the left of the container view, and I have label2's left anchor constrained to the right of label1, and the right anchor of label2 constrained to the right of the container.
I want label1 to take up only as much space as it needs, and label2 to take up the rest of the space. What I have is exactly the opposite.
So I need the exact opposite of what I have here. How can I do that?

