This post is from the Activity iPhone Duo UIKit Q&A.
We currently dismiss and rebuild a presented sheet whenever horizontalSizeClass changes. That also fires for rotation and for Split View or Stage Manager resizing. Is there a callback or geometry value that means “the device folded or unfolded,” separate from a normal size transition?