1
This commit is contained in:
@@ -98,11 +98,13 @@
|
||||
_heartsStack.spacing = 4;
|
||||
_heartsStack.alignment = UIStackViewAlignmentCenter;
|
||||
_heartsStack.distribution = UIStackViewDistributionFillProportionally;
|
||||
for (int i = 0; i < 5; i++) {
|
||||
for (int i = 0; i < 1; i++) {
|
||||
UIImageView *iv = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"pay_5aixin_icon"]];
|
||||
iv.contentMode = UIViewContentModeScaleAspectFit;
|
||||
[iv mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.width.height.mas_equalTo(16);
|
||||
make.height.mas_equalTo(10);
|
||||
make.width.mas_equalTo(77);
|
||||
|
||||
}];
|
||||
[_heartsStack addArrangedSubview:iv];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user