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

iOS 10 issue #8

Open
yarodevuci opened this issue Jan 21, 2017 · 3 comments
Open

iOS 10 issue #8

yarodevuci opened this issue Jan 21, 2017 · 3 comments

Comments

@yarodevuci
Copy link

yarodevuci commented Jan 21, 2017

@Aufree
Hello, I have 20 static cells in table view and when state == .playing and bars are animating and when I scroll down and go up bars are no longer animating and they in pause mode
iOS 8.4 has no problems with it
Any idea how can I fix this ?

Thanks!

@masterchiip
Copy link

@yarodevuci i have this problem too

@ultimatevegance
Copy link

same here ,any idea how to fix this ?

@ultimatevegance
Copy link

ultimatevegance commented May 30, 2019

I think I fixed this... the animation gets interrupted when you scroll it out of it's window, the
func willMove(toWindow: UIWindow?) will be called ,so what we should do is just resuming it animation when this method get called :
in ESTMusicIndicatorView.swift add this code:

    open override func willMove(toWindow newWindow: UIWindow?) {
        if state == .playing {
            startAnimating()
        }
    }

that will fix the problem. Hope this will help.

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

3 participants