<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BrowserEngineKit",
  "identifier" : "/documentation/BrowserEngineKit/WebContentProcess/createVisibilityPropagationInteraction()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "BrowserEngineKit"
    ],
    "preciseIdentifier" : "s:16BrowserEngineKit17WebContentProcessV38createVisibilityPropagationInteractionSo13UIInteraction_pyF"
  },
  "title" : "createVisibilityPropagationInteraction()"
}
-->

# createVisibilityPropagationInteraction()

Returns an interaction that associates a view with the web content process.

```
func createVisibilityPropagationInteraction() -> any UIInteraction
```

## Discussion

When you add a visibility propagation interaction to a view, the system considers the extension process visible whenever the view is visible, and schedules the process as if it has visible UI.
When the view is not visible, the system schedules the process as a background helper.

If your web content extension prepares content for multiple views, create a separate visibility propagation for each view.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)