在 viewdidLoad 中 添加这一句代码:bash
self.edgesForExtendedLayout = UIRectEdgeBottom; 复制代码
这句代码中 edgesForExtendedLayout 的意思是边缘是否能够用来延伸 。spa