stopPlayback(animated:)

stopPlayback(animated:)

stopPlayback(animated:) Instance Method of PHLivePhotoView Stops playback of a Live Photo in an animated manner.

func stopPlayback(animated: Bool)

Parameters

animated

A Boolean value that indicates whether playback stops immediately or with animation.

Discussion

Calling this method with a value of false is the same as calling stopPlayback()).