美文网首页iOS 功能
UIView animateWithDuration 中使用Ma

UIView animateWithDuration 中使用Ma

作者: wodeph | 来源:发表于2021-10-28 17:26 被阅读0次

            [UIView animateWithDuration:3 animations:^{

                [self.pushBgView   mas_remakeConstraints:^(MASConstraintMaker*make) {

                    make.top.mas_equalTo(self.brightnessBgV.mas_bottom).offset(12);

                    make.left.mas_equalTo(self.brightnessBgV.mas_left).offset(59);

                    make.width.mas_equalTo(pointX);

                    make.height.mas_equalTo(screenH*0.30-25);

                }];

                [self.pushBgView.superviewlayoutIfNeeded];

            }completion:nil];

相关文章

网友评论

    本文标题:UIView animateWithDuration 中使用Ma

    本文链接:https://www.haomeiwen.com/subject/snvvaltx.html