Instance Property

loops

A Boolean that indicates whether the sound restarts playback when it reaches the end of its content.

Declaration

var loops: Bool { get set }

Discussion

When the value of this property is true, the sounds restarts playback when it finishes and does not send sound(_:didFinishPlaying:) to its delegate when it reaches the end of its content and restarts playback. The default value of this property is false.

See Also

Configuring Sounds