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
4
docs.md
4
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -350,4 +350,4 @@ class MyViewController: UIVewController {
|
||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
<br/>
|
<br/>
|
||||||
<br/>
|
<br/>
|
||||||
|
|
Loading…
Reference in New Issue