diff --git a/xplan-ios/Appdelegate/AppDelegate.m b/xplan-ios/Appdelegate/AppDelegate.m index 914b77ae..e22606ea 100644 --- a/xplan-ios/Appdelegate/AppDelegate.m +++ b/xplan-ios/Appdelegate/AppDelegate.m @@ -24,6 +24,10 @@ TabbarViewController *vc = [[TabbarViewController alloc] init]; BaseNavigationController *bnc = [[BaseNavigationController alloc] initWithRootViewController:vc]; self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; + ///禁用暗黑 + if (@available(iOS 13.0, *)) { + self.window.overrideUserInterfaceStyle = UIUserInterfaceStyleLight; + } self.window.rootViewController = bnc; [self.window makeKeyAndVisible]; ///设置广告页 diff --git a/xplan-ios/Main/Home/View/XPNewHomeFilterView.m b/xplan-ios/Main/Home/View/XPNewHomeFilterView.m index 2d5a5f44..3d7920ae 100644 --- a/xplan-ios/Main/Home/View/XPNewHomeFilterView.m +++ b/xplan-ios/Main/Home/View/XPNewHomeFilterView.m @@ -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]; diff --git a/xplan-ios/Main/Mine/View/Cell/XPMineMoreTableViewCell.m b/xplan-ios/Main/Mine/View/Cell/XPMineMoreTableViewCell.m index e0582f4b..3b4ae29c 100644 --- a/xplan-ios/Main/Mine/View/Cell/XPMineMoreTableViewCell.m +++ b/xplan-ios/Main/Mine/View/Cell/XPMineMoreTableViewCell.m @@ -104,6 +104,7 @@ _tableView = [[UITableView alloc] initWithFrame:CGRectZero style:UITableViewStylePlain]; _tableView.delegate = self; _tableView.dataSource = self; + _tableView.backgroundColor = [UIColor clearColor]; _tableView.separatorStyle = UITableViewCellSeparatorStyleNone; _tableView.rowHeight = 48; _tableView.scrollEnabled = NO;