We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is an error in the countdown time return, and it does not stop when the time reaches completion。
func start() { timer.countMode = .countDown(fromSeconds: 60) timer.defultValue = 0 timer.effectiveValue = 1 timer.timeInterval = 1 timer.isActiveInBackground = true // Set up event handlers timer.lastStateDidChangeHandler = { state in print("Timer state changed: \(state)") } timer.elapsedTimeDidChangeHandler = { elapsedTime in print("Elapsed time updated: \(elapsedTime)") } // Start the timer timer.start() }
The text was updated successfully, but these errors were encountered:
sadeghgoo
No branches or pull requests
There is an error in the countdown time return, and it does not stop when the time reaches completion。
The text was updated successfully, but these errors were encountered: