Skip to content
New issue

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

Unable to find the index at which rotation has stopped for dynamic content example? #34

Open
ankitkumarg1 opened this issue Aug 17, 2023 · 1 comment

Comments

@ankitkumarg1
Copy link

Please provide the code to let me know how I can get the index or prize at which rotation has stopped?

@jigs777
Copy link

jigs777 commented Oct 13, 2023

let finishingIndex = self.finishIndex

    wheelControl.startRotationAnimation(finishIndex: finishingIndex, continuousRotationTime: 1) { [self] (finished) in
       print(prizes[finishingIndex])
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants