// 不向四周延展 self.edgesForExtendedLayout = UIRectEdgeNone; 转载于:https://www.cnblogs.com/code-Officer/p/7242834.html