Autolayout in UIView where is safe to ask computed layout values?
问题 I've got this issue. I'm using a collection view as a subview of the main view of a UIViewController . The collection view is pinned to the superview size, thus it has 4 constraints for lead,trail, top and bottom with constants equal to 0. The cell is a subclass to UICollectionViewCell and is composed by: first header view second header view UITableView The collection view cell is loaded from xib and the interface of the views is made for 4 inches devices. The first header view is pinned at