-
Notifications
You must be signed in to change notification settings - Fork 187
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
Animation stops if another view controller is presented #45
Comments
NVM! I fixed it. I just added a var to your PastelView class to check whether is currently animating or not. and if its not, then I startAnimation() inside viewDidAppear.
And then in
And lastly
|
NVM still opened because animation stops midway. No idea why |
Thanks it help me to figure it out. I did like this in order to keep animation working (Using notification observer):
Then call this :
In my case it works when my app will enter in foreground and will appear. And don't forget to remove the observer :
I hope it works for you. Happy New Year !!!! |
Can you provide the full code to fix animations? I get Use of unresolved identifier 'pastelView' |
There is no need to hold an extra property (
|
My controller includes a ImagePickerController, as soon as that displays, the background stops animating. Any ideas why? and how can i make it move again when the imagePicker dismisses
The text was updated successfully, but these errors were encountered: