tableview.topAnchor.constraint(equalTo: view.topAnchor).isActive = true
Self Sizing Table View Cells — Programmatically
Satinder Singh

I see that these view.topAnchor, view.leadingAnchor etc. are only available in iOS 9 and higher. What can we use as a fallback method for iOS 8?

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.