Browse Source

Update docs.md (#461)

I think top should be equal to safeAreaLayoutguide.snp.top
Per Ejeklint 8 years ago
parent
commit
32f1ae7f7d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs.md

+ 2 - 2
docs.md

@@ -341,7 +341,7 @@ class MyViewController: UIVewController {
 
         self.view.addSubview(tableView)
         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/>