CarPlay Dynamic screen sizes - how do I know the size has changed?

The following WWDC session CarPlay mentions dynamic screen sizes https://developer.apple.com/videos/play/wwdc2019/252/?time=400 where the view area changes based on the action performed by a user.

It's not clear from the video what callback does this resizing provide within the app - basically, how do I know as a developer that the size of my 'canvas' has changed?

You can override func viewWillLayoutSubviews() if you are using UIKit view controllers. This will be called when the view's bounds change, and give you an opportunity to perform operations before the view lays out its subviews.

CarPlay Dynamic screen sizes - how do I know the size has changed?
 
 
Q