Post

Replies

Boosts

Views

Activity

Delayed save when tapping "back" button using a SwiftUI DocumentGroup
Hello all, I've made an app that is using a SwiftUI DocumentGroup. It is almost done but one of the last bugs is when tapping 'back' off of the document it takes a while to save, about 15 seconds consistently. When creating a new app in SwiftUI that uses DocumentGroup via Xcode (the one that just has a text editor) it saves instantly on tapping the 'back' button. I've tested both my app and the initial app that Xcode gives you saving about the same amount of data, ~500 KB and the difference is still there. Any ideas what could be going on here? Thanks in advance.
3
0
1.1k
Jun ’21