不用在子控件里面选中 一个一个清除,选择Xcode上面的导航按钮来 清楚所有约束 Editor -->Resolve Auto layout Issue -->All Views --> Clear Constraints 转载于:https://www.cnblogs.com/BinZone/p/4382969.html