Skip to content

Commit a0f5be2

Browse files
committed
table header
1 parent e0c0dfa commit a0f5be2

8 files changed

Lines changed: 8 additions & 8 deletions

Coding_iOS/Controllers/MeSetting/SettingAccountViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ - (void)viewDidLoad
3131

3232
// 添加myTableView
3333
_myTableView = ({
34-
UITableView *tableView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStylePlain];
34+
UITableView *tableView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStyleGrouped];
3535
tableView.backgroundColor = kColorTableSectionBg;
3636
tableView.dataSource = self;
3737
tableView.delegate = self;

Coding_iOS/Controllers/MeSetting/SettingMineInfoViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ - (void)viewDidLoad {
4141

4242
// 添加myTableView
4343
_myTableView = ({
44-
UITableView *tableView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStylePlain];
44+
UITableView *tableView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStyleGrouped];
4545
tableView.backgroundColor = kColorTableSectionBg;
4646
tableView.dataSource = self;
4747
tableView.delegate = self;

Coding_iOS/Controllers/MeSetting/SettingPasswordViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ - (void)viewDidLoad
3838

3939
// 添加myTableView
4040
_myTableView = ({
41-
TPKeyboardAvoidingTableView *tableView = [[TPKeyboardAvoidingTableView alloc] initWithFrame:self.view.bounds style:UITableViewStylePlain];
41+
TPKeyboardAvoidingTableView *tableView = [[TPKeyboardAvoidingTableView alloc] initWithFrame:self.view.bounds style:UITableViewStyleGrouped];
4242
tableView.backgroundColor = kColorTableSectionBg;
4343
tableView.dataSource = self;
4444
tableView.delegate = self;

Coding_iOS/Controllers/MeSetting/SettingTextViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ - (void)viewDidLoad {
5757

5858
// 添加myTableView
5959
_myTableView = ({
60-
UITableView *tableView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStylePlain];
60+
UITableView *tableView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStyleGrouped];
6161
tableView.backgroundColor = kColorTableSectionBg;
6262
tableView.dataSource = self;
6363
tableView.delegate = self;

Coding_iOS/Controllers/MeSetting/SettingViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ - (void)viewDidLoad
2929

3030
// 添加myTableView
3131
_myTableView = ({
32-
UITableView *tableView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStylePlain];
32+
UITableView *tableView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStyleGrouped];
3333
tableView.backgroundColor = kColorTableSectionBg;
3434
tableView.dataSource = self;
3535
tableView.delegate = self;

Coding_iOS/Controllers/MeSetting/UserInfoViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ - (void)viewDidLoad
4646

4747
// 添加myTableView
4848
_myTableView = ({
49-
UITableView *tableView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStylePlain];
49+
UITableView *tableView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStyleGrouped];
5050
tableView.backgroundColor = kColorTableSectionBg;
5151
tableView.dataSource = self;
5252
tableView.delegate = self;

Coding_iOS/Controllers/RootControllers/Me_RootViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ - (void)viewDidLoad
7070

7171
// 添加myTableView
7272
_myTableView = ({
73-
UITableView *tableView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStylePlain];
73+
UITableView *tableView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStyleGrouped];
7474
tableView.backgroundColor = kColorTableSectionBg;
7575
tableView.dataSource = self;
7676
tableView.delegate = self;

Coding_iOS/Controllers/ValueListViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ - (void)viewDidLoad
3838
self.title = self.titleStr;
3939
// 添加myTableView
4040
_myTableView = ({
41-
UITableView *tableView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStylePlain];
41+
UITableView *tableView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStyleGrouped];
4242
tableView.dataSource = self;
4343
tableView.delegate = self;
4444
tableView.separatorStyle = UITableViewCellSeparatorStyleNone;

0 commit comments

Comments
 (0)