Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

How do I set function scrollViewDidEndDecelerating using AKPickerView #52

Open
kanamookob opened this issue Jun 14, 2015 · 0 comments
Open

Comments

@kanamookob
Copy link

I use UIScrollViewDelegate protocol and try this:

func scrollViewDidScroll(scrollView: UIScrollView) {
    self.pickerView.backgroundColor = UIColor.whiteColor()
}
func scrollViewDidEndDecelerating(scrollView: UIScrollView) {
    self.pickerView.backgroundColor = UIColor.clearColor()
}

but it's not work because scrollViewDidEndDecelerationg method will call when scroll end but AKPickerView will scroll automatic to title and call scrollViewDidScroll again.
How do I solve this ?

Thank you

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

No branches or pull requests

1 participant