Update docs.md (#461)

I think top should be equal to safeAreaLayoutguide.snp.top
This commit is contained in:
Per Ejeklint 2017-10-13 11:31:28 +02:00 committed by Robert Payne
parent 417354a2c7
commit 32f1ae7f7d
1 changed files with 2 additions and 2 deletions

View File

@ -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/>