Contents

transitionController(forDocumentAt:)

Creates a transition controller that provides the standard system-loading and segue animations for the document browser.

Declaration

func transitionController(forDocumentAt documentURL: URL) -> UIDocumentBrowserTransitionController

Parameters

Return Value

Returns a newly instantiated transition controller. Its loadingProgress and targetView properties are both set to nil.

Discussion

For the animations to function properly, you must maintain a strong reference to the transition controller until all the animation sequences are complete.

For more about using the transition controller, see UIDocumentBrowserTransitionController.

See Also

Animating transitions