You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello guys~
I dragged an IBOutlet from storyboard, and I use Masonry to change it in a UIView animation block, but the animation seems not work so well.
Code:
@KnightJoker Masonry cannot update any constraints created by IB, you have to create constraints in code with Masonry to also be able to update them in code with Masonry.
Hello guys~
I dragged an IBOutlet from storyboard, and I use Masonry to change it in a UIView animation block, but the animation seems not work so well.
Code:
[UIView animateWithDuration:1.0
delay:0.0
options:UIViewAnimationOptionCurveEaseIn
animations:^{
[self.registerView mas_updateConstraints:^(MASConstraintMaker *make){
make.top.mas_equalTo(0);
}];
}
completion:nil];
The text was updated successfully, but these errors were encountered: