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



Our Products

Kitemetrics
Keyword level attribution for Apple Search Ads. Optimize your bids and increase your revenue. Sign up for free at kitemetrics.com.

White Noise and Deep Sleep Sounds
Calming and relaxing sounds that will help you sleep like a baby tonight.
Download for free from the App Store.
Get it on Google Play.