【发布时间】:2015-12-21 01:31:10
【问题描述】:
刷新颜色和tint颜色不匹配,看起来不一样,我尝试改变tintAdjustmentMode但结果是一样的
请注意,微调器和文本颜色应为 0x2C76BE
tvc.refreshControl = [UIRefreshControl new];
tvc.refreshControl.tintAdjustmentMode = UIViewTintAdjustmentModeNormal;
tvc.refreshControl.tintColor = [UIColor colorWithHex:0x2C76BE];
tvc.refreshControl.attributedTitle = [[NSAttributedString alloc] initWithString:@"Pull to query spectrum again" attributes:@{NSForegroundColorAttributeName:[UIColor colorWithHex:0x2C76BE]}];
【问题讨论】:
-
0x2C76BE 看起来不是十六进制颜色。
-
没关系,它的#2C76BE = 0x2C76BE
-
这个运气好吗?我遇到了同样的问题:(
标签: ios uitableview cocoa-touch ios9 uirefreshcontrol