Contents

UIDocumentBrowserTransitionController

An object that implements the standard loading and transition animations for a document browser.

Declaration

@MainActor class UIDocumentBrowserTransitionController

Overview

Each transition controller is associated with a document in the document browser. The transition controller can provide two separate animation sequences for this document:

  • If you set the loadingProgress property, the document browser shows the loading progress in the document’s thumbnail.

  • If you set the targetView property, the transition controller acts as a UIViewControllerAnimatedTransitioning object, providing a custom transition between the document’s thumbnail and the target view. This transitioning object can be used both when presenting and when dismissing the document.

You don’t instantiate instances of UIDocumentBrowserTransitionController yourself. Instead, call the document browser’s transitionController(forDocumentURL:) method to get a transition controller for the specified document.

Topics

Animating transitions

See Also

Related Documentation

Animating transitions