Contents

displayLink(target:selector:)

Returns a new display link whose callback will be invoked in-sync with the display the view is on.

Declaration

func displayLink(target: Any, selector: Selector) -> CADisplayLink

Discussion

If the view is hidden, or not on any display, the callback will not be invoked.