Should I use viewDidLayoutSubviews() or traitCollectionDidChange() to respond to changes in interface orientation – Ios swift
I'm trying to update the constraints and change the layout of my subviews when the user rotates their device. From what I understand, both viewDidLayoutSubviews() and traitCollectionDidChange() are able to respond to changes in the interface orientation (e.g. when the…