xib 內(nèi)邊距問題 xcode 9 以前拉約束的時候會自動勾選 Relative to marin 選擇有margin的約束把這個選項(xiàng)去掉就OK了 有margin的約束 image.png