You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And a specially on this field self.timer?.suspend()
Based on previous research I have found an article that already helped you previously at #22 PR.
But I think we need one more step and add suspend and resume methods
func resume() {
if state == .resumed {
return
}
state = .resumed
timer.resume()
}
func suspend() {
if state == .suspended {
return
}
state = .suspended
timer.suspend()
}
It happens unexpectedly from time to time on background and on foreground.
iOS 12 and iOS 13 on different iPhones versions.
Or
The text was updated successfully, but these errors were encountered: