What is a 'UIView-Encapsulated-Layout-Width' constraint?

前端 未结 5 849
旧时难觅i
旧时难觅i 2020-12-14 00:14

I keep getting \'Unable to simultaneously satisfy constraints\' exceptions (Xcode 5, iOS 7, both device and simulator), where one of the constraints in the list is something

5条回答
  •  情深已故
    2020-12-14 00:41

    A quick and nice fix, is to assign 999 priority value to the custom constraints with high priority. The encapsulated & auto-generated constraints should dominate with higher priority than your constraints.

    https://stackoverflow.com/a/25795758/590010

提交回复
热议问题