阿拉伯语适配

This commit is contained in:
liyuhua
2024-04-18 18:37:21 +08:00
parent 6f420e0579
commit cd9a7518d7
87 changed files with 412 additions and 213 deletions

View File

@@ -142,7 +142,7 @@
}];
}
- (void)onCloseButtonClick:(UIButton *)sender {
- (void)onCloseButtonClick {
[self mas_updateConstraints:^(MASConstraintMaker *make) {
make.height.mas_equalTo(0);
}];
@@ -161,6 +161,9 @@
return;
}
_titleArray = titleArray;
if (titleArray.count == 0){
[self onCloseButtonClick];
}
[self.collectionView reloadData];
}
@@ -183,7 +186,7 @@
if (!_closeButton) {
_closeButton = [[UIButton alloc] init];
[_closeButton setImage:[UIImage imageNamed:@"room_gift_graffiti_close"] forState:UIControlStateNormal];
[_closeButton addTarget:self action:@selector(onCloseButtonClick:) forControlEvents:UIControlEventTouchUpInside];
[_closeButton addTarget:self action:@selector(onCloseButtonClick) forControlEvents:UIControlEventTouchUpInside];
}
return _closeButton;
}