How to use keyboardLayoutGuide with UIScrollView?

I see from the docs and session how to anchor a view to the keyboard using the new keyboardLayoutGuide on UIView, but how do use keyboardLayoutGuide to replace the old way of handling keyboard notifications and adjusting the contentInset of the scroll view?

How to use keyboardLayoutGuide with UIScrollView?
 
 
Q