From b4ee6a274bd707b50d96033c186746853322389c Mon Sep 17 00:00:00 2001 From: Anton Bukov Date: Mon, 18 Nov 2013 22:40:44 +0400 Subject: [PATCH] Fixed iOS7 gray table background --- MLTableAlert Files/MLTableAlert.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MLTableAlert Files/MLTableAlert.m b/MLTableAlert Files/MLTableAlert.m index 0460272..f4f693e 100644 --- a/MLTableAlert Files/MLTableAlert.m +++ b/MLTableAlert Files/MLTableAlert.m @@ -227,6 +227,8 @@ -(void)show self.table.dataSource = self; self.table.separatorStyle = UITableViewCellSeparatorStyleNone; self.table.backgroundView = [[UIView alloc] init]; + for (UIView * subview in self.table.subviews) + [subview setBackgroundColor:[UIColor whiteColor]]; [self.alertBg addSubview:self.table]; // setting white-to-gray gradient as table view's background