TTFortuneWheel-iOS
TTFortuneWheel-iOS copied to clipboard
When comes from Background state
Give the Slices and give the index to stop
spinWheel.startAnimating()
DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
self.spinWheel.startAnimating(fininshIndex: self.winIndex, offset: 180) { (finished) in
}}
Immediately move app to background then bring back the app to foreground The issue is its not stopping where we want
What do you mean by not stopping where you want? Does going to background influence the stopping index?