Contents

allowsImmersiveEnvironments

Declaration

var allowsImmersiveEnvironments: Bool { get set }

Discussion

A Boolean value that determines whether the web view allows immersive environments.

Set this property to YES to enable support for website-provided immersive environments. If NO, requests to present immersive environments are ignored. If YES, requests are routed to your WKImmersiveEnvironmentDelegate. The default value is NO.