tableView上面多出来20个像素,是因为自动布局的缘故,设置一下属性就可以解决问题
(本文来源于图老师网站,更多请访问http://m.tulaoshi.com/bianchengyuyan/)代码如下:
self.edgesForExtendedLayout = UIRectEdgeNone;
超级简单实用的方法,试试看吧
(本文来源于图老师网站,更多请访问http://m.tulaoshi.com/bianchengyuyan/)tableView上面多出来20个像素,是因为自动布局的缘故,设置一下属性就可以解决问题
(本文来源于图老师网站,更多请访问http://m.tulaoshi.com/bianchengyuyan/)代码如下:
self.edgesForExtendedLayout = UIRectEdgeNone;
超级简单实用的方法,试试看吧
(本文来源于图老师网站,更多请访问http://m.tulaoshi.com/bianchengyuyan/)