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
#pragma mark - 用来控制移动过程中计算手指划过的时间 -(float)moveProgressControllWithTempPoint:(CGPoint)tempPoint{ //90代表整个屏幕代表的时间 float tempValue = self.touchBeginValue + TotalScreenTime * ((tempPoint.x - self.touchBeginPoint.x)/([UIScreen mainScreen].bounds.size.width)); if (tempValue > [self duration]) { tempValue = [self duration]; }else if (tempValue < 0){ tempValue = 0.0f; } return tempValue; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
#pragma mark - 用来控制移动过程中计算手指划过的时间
-(float)moveProgressControllWithTempPoint:(CGPoint)tempPoint{
//90代表整个屏幕代表的时间
float tempValue = self.touchBeginValue + TotalScreenTime * ((tempPoint.x - self.touchBeginPoint.x)/([UIScreen mainScreen].bounds.size.width));
if (tempValue > [self duration]) {
tempValue = [self duration];
}else if (tempValue < 0){
tempValue = 0.0f;
}
return tempValue;
}
The text was updated successfully, but these errors were encountered: