I have a UITableView and I\'d like to change its height programmatically depending on the number of cells contained in it.
UITableView
Can you help me?
You can use this code
self.yourTableView.frame = CGRectMake(x,y,width,noOfCell*heightOfOneCell);