Unable to simultaneously satisfy constraints 约束冲突问题

对scrollerview的约束出现了


Unable to simultaneously satisfy constraints.

Probably at least one of the constraints in the following list is one you don't want.

Try this:

(1) look at each constraint and try to figure out which you don't expect;

(2) find the code that added the unwanted constraint or constraints and fix it.


Will attempt to recover by breaking constraint 的错误



只需要在scrollerview中设置优先级区别就可以了

Unable to simultaneously satisfy constraints 约束冲突问题_第1张图片

你可能感兴趣的:(Unable to simultaneously satisfy constraints 约束冲突问题)