Menu Docs
Página inicial do Docs
/ /
Atlas Device SDKs
/ /

Sincronizar dados em segundo plano - Swift SDK

Nesta página

  • Sincronizar alterações em segundo plano

If you want your app to update data in the background (while the app is minimized), iOS requires you to implement Background App Refresh. Enabling Background App Refresh minimizes the time it takes for the user to see the most recent data; without Background App Refresh, Realm updates the data when the user launches the app, potentially resulting in noticeable lag.

Para usar o Realm enquanto o dispositivo está bloqueado, você deve ajustar as configurações de proteção de arquivos. Consulte Usar Realm quando o dispositivo estiver bloqueado.

Para obter um exemplo de como sincronizar alterações em segundo plano usando a API SwiftUI BackgroundTask , consulte: Sincronizar dados em segundo plano com o SwiftUI.

Voltar

Gerenciar erros de sincronização

Próximo

Gerenciar sessões de sincronização