---
title: createVisibilityPropagationInteraction()
framework: browserenginekit
role: symbol
role_heading: Instance Method
path: browserenginekit/renderingprocess/createvisibilitypropagationinteraction()
---

# createVisibilityPropagationInteraction()

Returns an interaction that associates a view with the rendering process.

## Declaration

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

## Discussion

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 isn’t visible, the system schedules the process as a background helper. If your rendering extension prepares content for multiple views, create a separate visibility propagation for each view.

## See Also

### Visibility propagation

- [Propagating view visibility information to extension processes](browserenginekit/propagating-view-visibility-information-to-browser-extensions.md)
- [createVisibilityPropagationInteraction()](browserenginekit/webcontentprocess/createvisibilitypropagationinteraction().md)
