I continue to receive exceptions “It is impossible to simultaneously satisfy restrictions” (Xcode 5, iOS 7, both the device and the simulator), where one of the restrictions in the list looks something like this:
"<NSLayoutConstraint:0x165b23d0 'UIView-Encapsulated-Layout-Width' H:[StoryPlayerCell:0x165affc0(0)]>"
I have not set this restriction myself. It is also not an NSAutoresizingMaskLayoutConstraint . But where did it come from? And how can I get rid of him?
I have no idea. And I can't find anything about 'UIView-Encapsulated-Layout-Width' in the Apple documentation. Even a Google search returns nothing.
Any suggestions?
PS: I use this cell in a UICollectionView with a custom subclass of UICollectionViewFlowLayout . Maybe the 'Encapsulated-Layout' has something to do with this?
ios autolayout nslayoutconstraint uicollectionview uicollectionviewlayout
Goodsquirrel Jan 16 '14 at 12:27 2014-01-16 12:27
source share