iOS 功能

UIView animateWithDuration 中使用Ma

2021-10-28  本文已影响0人  wodeph

            [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];

上一篇 下一篇

猜你喜欢

热点阅读