simulates ios 12

This commit is contained in:
TrueZhuanjia
2025-06-07 18:25:45 +08:00
parent 68f21fa8e5
commit a64a29ce07
13 changed files with 42 additions and 42 deletions
+2 -2
View File
@@ -83,7 +83,7 @@
// 切换按钮
_toggleButton = [UIButton buttonWithType:UIButtonTypeSystem];
_toggleArea = [UIButton buttonWithType:UIButtonTypeSystem];
if (@available(iOS 13.0, *)) {
if (@available(iOS 13.0, *) && false) {
UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:_headerViewHeight*0.31 weight:UIImageSymbolWeightMedium];
[_toggleButton setImage:[UIImage systemImageNamed:@"chevron.left" withConfiguration:config] forState:UIControlStateNormal];
} else {
@@ -192,7 +192,7 @@
#pragma mark - Public Methods
- (void)setSectionIcon:(UIImage *)icon {
if (@available(iOS 13.0, *)) {
if (@available(iOS 13.0, *) && false) {
UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithWeight:UIImageSymbolWeightSemibold];
_iconImageView.image = [icon imageWithConfiguration:config];