Contents

animateChanges(_:)

Animates the UI changes to the sheet’s properties.

Declaration

func animateChanges(_ changes: () -> Void)

Parameters

  • changes:

    A block where you change the sheet’s properties to animate them.

Discussion

To animate changes to any of the sheet’s properties, set them inside the block that you pass to this method. By the time this method returns, layout finishes for the sheet, all adjacent sheets in the sheet stack, and their subviews.