Is UITableView resizable ? Can I assign a different frame ?
I'm trying this line in a UITableViewController but it doesn't work (on iPhone):
self.tableView.frame = CGRectMake(0, 0, 300, 200);
thanks
Not in a UITableViewController, because in a UITableViewController, self.view == self.tableView
.
Try using a UIViewController, implementing the UITableViewDataSource and UITableViewDelegate protocols as necessary.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With