ARTICLES

How to align UIView to topLayoutGuide in SnapKit

Use topLayoutGuide.snp.bottom to align your UIView to the bottom of the navigation bar or the bottom of the status bar in Swift 3 while using the SnapKit pod.

Use bottomLayoutGuide.snp.top to align your UIView to the top of the tab bar.

 

Source: https://github.com/SnapKit/SnapKit/issues/91