Uitableview 将表格大小约束到有限的区域

Uitableview 将表格大小约束到有限的区域,uitableview,size,Uitableview,Size,如何将表格大小约束到视图中的有限区域 使用的方法是什么?你能解释一下这个问题吗。。如果希望视图的一部分为tableview。。不管怎样,我找到了出路…UITableView*tableView=[[UITableView alloc]initWithFrame:CGRectMake0、190、320、143样式:UITableView样式分组]//tableView.bounds tableView.backgroundColor=[UIColor clearColor];tableView.d

如何将表格大小约束到视图中的有限区域
使用的方法是什么?

你能解释一下这个问题吗。。如果希望视图的一部分为tableview。。不管怎样,我找到了出路…UITableView*tableView=[[UITableView alloc]initWithFrame:CGRectMake0、190、320、143样式:UITableView样式分组]//tableView.bounds tableView.backgroundColor=[UIColor clearColor];tableView.delegate=self;tableView.dataSource=self;tableView.scrollEnabled=否;[self.view addSubview:tableView];