Order of viewWillTransition and traitCollectionDidChange when folding

On fold we see both a size transition and a horizontal size-class change, but not always in the same order, and sometimes only one of them. We update tab-bar visibility in both. Which one is guaranteed for a fold, and should geometry updates happen only inside the transition coordinator’s alongsideTransition block?

Order of viewWillTransition and traitCollectionDidChange when folding
 
 
Q