UILabel + UIStackView + IBDesignable + UITableViewCell == bad display
In IB (works at runtime) if I set the font of a UILabel subclass in the prepareForInterfaceBuilder() method the frame of said label gets set to zero.
It only happens when the UIStackView is in a UITableViewCell or UICollectionViewCell. It works fine in a simple UIViewController/UIView.
Steps to Reproduce:
Open the project in Xcode.
The labels should be of the correct size and location
The frames of the labels are set to a size of zero.
MacOS 10.2.2 (16C67)
Xcode 8.2.1 (8C1002)
Reports posted here will not necessarily be seen by Apple.
All problems should be submitted at bugreport.apple.com before they are posted here.
Please only post information for Radars that you have filed yourself, and please do
not include Apple confidential information in your posts. Thank you!