Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

Animation looks like have some delay when first perform. #350

Open
devSC opened this issue Feb 9, 2017 · 1 comment
Open

Animation looks like have some delay when first perform. #350

devSC opened this issue Feb 9, 2017 · 1 comment

Comments

@devSC
Copy link

devSC commented Feb 9, 2017

My code:

       POPSpringAnimation *animation = [POPSpringAnimation animationWithPropertyNamed:kPOPViewFrame];
        animation.toValue = [NSValue valueWithCGRect:CGRectMake(45, 14, kScreenWidth - 45 - 10, 40)];
        [self.searchBar pop_addAnimation:animation forKey:@"frameAniamtion"];

and i'm try to add:

        animation.beginTime = CACurrentMediaTime();

but it's still not working.

When perform again, it's work fine.

anyone have the same problem?

@wyp810618
Copy link

wyp810618 commented Feb 9, 2017 via email

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

2 participants