Post

Replies

Boosts

Views

Activity

Comment on iOS: List selection is reset to nil when app is sent to background
I'm running the app in the debugger so the app is not being terminated. Once it is in the background, selectedPerson is set to nil but the call stack doesn't reveal anything unfortunately. I manage to "fix" this behaviour by saving the value when didEnterBackgroundNotification is triggered and setting it back when willEnterForegroundNotification is. This is more of a hack than an actual solution but it was just to demonstrate the issue.
Dec ’22