Auto Save in SWIFT

We have a data driven app in production and need to implement AUTO SAVE during IDLE times. Currently, we see the scroll bar too frequently. Does any one have technical advice?

@clash Thanks very much for your question!

In the appDelegate there is a function called:


In this function, you would put a trigger to a save method which would store the app in it’s idle state. You can also put in a timer so that while the app is in the background or idle, it is triggering the save method over regular time intervals. The problem you are facing is a common one, and thankfully there are convenient solutions to address it. :slight_smile:

I hope this helps!

All the best.

This topic was automatically closed after 166 days. New replies are no longer allowed.