修改暗黑模式

This commit is contained in:
chenshuanglin
2023-03-20 15:16:54 +08:00
parent 6663ed8a47
commit 73abc1e6c5
3 changed files with 7 additions and 0 deletions

View File

@@ -22,6 +22,8 @@
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
if (self) {
self.backgroundColor = UIColor.clearColor;
self.contentView.backgroundColor = UIColor.clearColor;
self.selectionStyle = UITableViewCellSelectionStyleNone;
[self.contentView addSubview:self.backView];
[self.contentView addSubview:self.titleLabel];