mirror of https://github.com/SnapKit/SnapKit
Update docs.md (#461)
I think top should be equal to safeAreaLayoutguide.snp.top
This commit is contained in:
parent
417354a2c7
commit
32f1ae7f7d
2
docs.md
2
docs.md
|
@ -341,7 +341,7 @@ class MyViewController: UIVewController {
|
||||||
|
|
||||||
self.view.addSubview(tableView)
|
self.view.addSubview(tableView)
|
||||||
tableView.snp.makeConstraints { (make) -> Void in
|
tableView.snp.makeConstraints { (make) -> Void in
|
||||||
make.top.equalTo(self.safeAreaLayoutGuide.snp.bottom)
|
make.top.equalTo(self.safeAreaLayoutGuide.snp.top)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue