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
UIImageView在重置Constraints时,会有很高的概率crash。 我们的代码如下:先清除了自己之前的约束,然后重新增加新的约束,然后-(void)SKaddObject:(id)anObject报错,导致crash
//经验值条增长动画 [self.expLineImageView removeConstraints:self.expLineImageView.constraints]; [self.expLineImageView addConstraint:[NSLayoutConstraint constraintWithItem:self.expLineImageView attribute:NSLayoutAttributeHeight relatedBy:NSLayoutRelationEqual toItem:nil attribute:0 multiplier:1 constant:2]]; [self.expLineImageView addConstraint:[NSLayoutConstraint constraintWithItem:self.expLineImageView attribute:NSLayoutAttributeWidth relatedBy:NSLayoutRelationEqual toItem:nil attribute:0 multiplier:1 constant:320 * _levelPercent]];
The text was updated successfully, but these errors were encountered:
No branches or pull requests
UIImageView在重置Constraints时,会有很高的概率crash。
我们的代码如下:先清除了自己之前的约束,然后重新增加新的约束,然后-(void)SKaddObject:(id)anObject报错,导致crash
The text was updated successfully, but these errors were encountered: