// 起始坐标按0点开始计算

self.edgesForExtendedLayout = UIRectEdge.init(rawValue: 0)

 

// tableView的坐标系

tableView.snp.makeConstraints { (make) in

            make.top.equalTo(view.snp.top)

                .offset(-64)

            make.left.right.equalTo(view)

            make.bottom.equalTo(view.snp.bottom)

        }

相关文章: