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
` for (int i = 0; i < activityTypes.count; i++) {
DGActivityIndicatorView *activityIndicatorView = [[DGActivityIndicatorView alloc] initWithType:(DGActivityIndicatorAnimationType)[activityTypes[i] integerValue] tintColor:[UIColor whiteColor]]; CGFloat width = self.view.bounds.size.width / 5.0f; CGFloat height = self.view.bounds.size.height / 7.0f; activityIndicatorView.frame = CGRectMake(width * (i % 7), height * (int)(i / 7), width, height); [self.view addSubview:activityIndicatorView]; [activityIndicatorView startAnimating]; }`
宽度应该是除以7,不是除以5
The text was updated successfully, but these errors were encountered:
No branches or pull requests
`
for (int i = 0; i < activityTypes.count; i++) {
宽度应该是除以7,不是除以5
The text was updated successfully, but these errors were encountered: