1
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
- (instancetype)initWithFrame:(CGRect)frame {
|
||||
self = [super initWithFrame:frame];
|
||||
if (!self) return nil;
|
||||
self.backgroundColor = [[UIColor blackColor] colorWithAlphaComponent:0.55];
|
||||
self.backgroundColor = [[UIColor blackColor] colorWithAlphaComponent:0.5];
|
||||
self.userInteractionEnabled = YES;
|
||||
|
||||
// 返回按钮
|
||||
@@ -47,8 +47,8 @@
|
||||
CGFloat screenW = UIScreen.mainScreen.bounds.size.width;
|
||||
[_gifView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.centerX.equalTo(self);
|
||||
make.width.mas_equalTo(screenW);
|
||||
make.height.mas_equalTo(300);
|
||||
make.width.mas_equalTo(KBFit(316));
|
||||
make.height.mas_equalTo(KBFit(209));
|
||||
// 竖直方向不在这里约束,由 layoutSubviews 手动布局
|
||||
}];
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 648 KiB After Width: | Height: | Size: 2.0 MiB |
Reference in New Issue
Block a user