Changing size class while a UISheetPresentationController is already presented

If the user folds or unfolds while our sheet is up, the detent heights and whether the sheet is inset are stale. We dismiss with animated: false and present again inside traitCollectionDidChange. Is the supported approach to update detents in place during the transition coordinator, and which callback is guaranteed to run after the sheet’s container has its final bounds?

Changing size class while a UISheetPresentationController is already presented
 
 
Q