I have a UITableViewCell and I put two subviews in it in the StoryBoard. I set constraints as follows:
The first subview has the leading constraint set to 0 points and width equal to 0.45 of the content view. Height is equal to height of content view,
The second subview has the trailing constraint set to 0 points and width equal to 0.3 of content view. Height is equal to height of content view.
With these constraints, I think the placement of views is determined & unambiguous. However I still get the warning of missing leading constraint for second subview which may cause clipping. What do I do?
"warning: Auto Layout Localization: Leading constraint is missing, which may cause overlapping with other views."
EDIT: I already searched and found some answers but found them to be unsatisfactory. Why is there a need to add leading constraint when I have width, trailing, and height constraints in place. One view width is 0.45 while other is 0.3 of total width. Why would there be clipping?