问题
For some reason, using a collection view inside a view controller which is embeded throws UIView-Encapsulated-Layout on the collection views constraints.. i can't set height or top/bottom margins,
Any ideas as to why this happens?
I've been adding constraints through storyboard, I've even tried adding them programmatically
来源:https://stackoverflow.com/questions/27714826/uiview-encapsulated-layout-with-uicollectionview-in-uiviewcontroller-embed-in-vi