How to adapt constants and views dynamically — This article is based on my previous one, so before moving on, I’d recommend you to read it first: Adaptive layout for iOS in Swift
How to adapt views and constraints dynamically both in storyboard and programaticallyrodionartyukhin.medium.com Note I’ll be using SnapKit in my code, but the approach can be applied to other layout libraries as well as Apple’s NSLayoutConstraint and SwiftUI.