ZFPlayer
ZFPlayer copied to clipboard
想自定义self.controlView.bottomPgrogress样式,需要在什么时机进行布局呢?
我尝试在播放前,播放后加这几句都不成功,执行removeFromSuperview倒是可以.
[self.controlView.bottomPgrogress setBackgroundColor:[UIColor redColor]];
[self.controlView.bottomPgrogress mas_remakeConstraints:^(MASConstraintMaker *make) {
make.left.right.equalTo(self.controlView);
make.bottom.equalTo(self.controlView).offset(-50);
make.height.offset(20);
}];