I use this code to set the frame:
[self.tableView setFrame:CGRectMake(0, 0, 240, 360)];
but it does't change the table view frame.
Please any one tell me how can I set the frame of table view..?
[self.tableView setFrame:CGRectMake(0, 0, 240, 360)];
but it does't change the table view frame.
Please any one tell me how can I set the frame of table view..?
If you have getting issue after setting the tableview frame then you can also use the method viewDidLayoutSubviews:.
Use your table view frame set code in the viewDidLayoutSubviews: method.
Below I have provided an example:
I hope it will resolve your table view frame set issue.