1 UITableView的两种style
[UITableView *tableView = [[UITableView alloc]initWithFrame:self.view.bounds style:UITableViewStylePlain || UITableViewStyleGrouped];
2 给tableView添加数据
1.数据源(DataSoure)
[UITableView *tableView = [[UITableView alloc]initWithFrame:self.view.bounds style:UITableViewStylePlain || UITableViewStyleGrouped];
转载于:https://www.cnblogs.com/whblovelap/p/3838478.html