I have a UITableViewCell that has an embedded UIStackView in it. Everything works and looks fine on the phone and iPad. However, I get a lot of weird errors in the StoryBoard and I don't know if I can ignore them or not. Typically, I hate ignoring warnings. But is it OK in this case? My Table Cell is set up as follows:
UITableViewCell
- Content View
-- View (named outerView)
--- View (named dateView for top banner color)
--- UIStackView (vertical, named mainStackView, pinned to neighbors)
---- UIButton (A)
---- UIView (B)
---- UIStackView (C, horizontal)
---- UIStackView (D, horizontal)
---- UILabel (E)
---- UIButton (F)
Everything under the mainStackView (letters A-F) are all showing an error in StoryBoard that they "Need constraint for: Y position or height". However, per the Apple documentation it says they will handle all the constraints and vertical alignment if the UIStackView is vertical orientation. Like I said, it works fine and the arrangedSubviews can be collapsed/hidden and there are no other warnings. I just don't like shipping out code riddled with warnings. What can I do to fix this, or is it a known issue?
UPDATE: Here is the MCVE as requested by the comment below. Click here and unzip the folder to get the bare bones project that will only work in Interface Builder.