We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
- (void)idl_stopLayerAnimation { CFTimeInterval pauseTime =[self convertTime:CACurrentMediaTime() fromLayer:nil]; self.speed = 0.0f; self.timeOffset = pauseTime; } - (void)idl_resumeLayerAnimation { CFTimeInterval pauseTime = self.timeOffset; self.speed = 1.0f; self.timeOffset = 0.0f; self.beginTime = 0; CFTimeInterval timeSince = [self convertTime:CACurrentMediaTime() fromLayer:nil] - pauseTime; self.beginTime = timeSince; }
结合公式t = (tp - begin) * speed + offset就可以理解了
The text was updated successfully, but these errors were encountered:
No branches or pull requests
结合公式t = (tp - begin) * speed + offset就可以理解了
The text was updated successfully, but these errors were encountered: