File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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;
Original file line number Diff line number Diff 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;
Original file line number Diff line number Diff 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;
Original file line number Diff line number Diff 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;
Original file line number Diff line number Diff 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;
Original file line number Diff line number Diff 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;
Original file line number Diff line number Diff 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;
Original file line number Diff line number Diff 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;
You can’t perform that action at this time.
0 commit comments