Expo UI and Router for iOSExpo SDK 57 and later, iOS only
Modifiers

refreshable

Marks a view as refreshable. Adds pull-to-refresh functionality.

refreshable(handler)

ParameterTypeDescription
handler() => Promise<void>Async function to call when refresh is triggered.

Marks a view as refreshable. Adds pull-to-refresh functionality.

Returns: ModifierConfig

See: Official SwiftUI documentation.

Works with

refreshable is made for these components. On other components it has no effect.

Sources

The original Expo docs for this page:

On this page