Contents

preventsAutomaticBackgroundingDuringVideoPlayback

A Boolean value that indicates whether video playback prevents the system from automatically backgrounding the app.

Declaration

nonisolated var preventsAutomaticBackgroundingDuringVideoPlayback: Bool { get set }

Discussion

The default value is true, which indicates the system doesn’t automatically background an app while it’s actively playing video. A user may still choose to background an app.

See Also

Preventing sleep and backgrounding