我正在学习如何使用UIScrollView,并且我正在添加一些按钮进行测试。但是,我发现每当我添加一个按钮时,无论它有多小或者放在视图中的什么位置,都会导致大量的水平滚动。下面是我的相关代码:{ [_scroller setScrollEnabled:YES]; // Do any additional setup after loading the v
Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the codethat added the unwanted constraint or constraints and fix it.)>
好吧,有些约束是有争议的,但我没有自己设置任何约束,它们都是在Interface Builder中自动设置的,我不能删除它们。我