UIView-Encapsulated-Layout with UICollectionView in UIViewController embed in view

你离开我真会死。 提交于 2020-01-15 07:59:10

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!