Instance Property

audioVolume

The audio gain to apply to the Live Photo’s movie content during playback.

Declaration

var audioVolume: Float { get set }

Discussion

Values for this property must be between 0.0 and 1.0, inclusive. A value of 1.0 (the default) plays audio content from the Live Photo at full volume (relative to the system volume). A value of 0.0 is equivalent to setting the isMuted property to true.

See Also

Managing Playback

var playbackGestureRecognizer: UIGestureRecognizer

A gesture recognizer that controls playback of the Live Photo in the view.

var isMuted: Bool

A Boolean value that determines whether the view plays the audio content of its Live Photo.