Contents

createVisibilityPropagationInteraction

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

Declaration

- (id<UIInteraction>) createVisibilityPropagationInteraction;

Return Value

An interaction that you attach to the view for which your web content process prepares content.

Discussion

When you add a visibility propagation interaction to a view, the system treats the extension process as 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 web content extension prepares content for multiple views, create a separate visibility propagation for each view.

See Also

Coordinating processes