hello I'm trying to change the width of the cells in a tableview programaticallly I have this code initially
`
-(void)viewDidLoad
{
[super viewDidLoad];
[self.theTableView setSeparatorStyle:UITableViewCellSeparatorStyleNone];
CGRect frame = CGRectMake(100, 0, 200.0, 768.0);
self.theTableView = [[UITableView alloc] initWithFrame:frame];
theTableView.delegate = self;
theTableView.dataSource = self;
[self.view addSubview:theTableView];
self.title = @"TableView";
} ` works one way but the problem is that the cells are duplicated as shown below
thank you very much for your help