I have a UITableView in another view. I want to make the height of the UITabeView constant. I have variable number of rows, but I want the height of the UITableView constant so that it does not hide the views below it when the rows increase. how do I do this? I tried setting the autoresizingmask but that did not help. Thanks in advance.
Share
you can use the method:
and initialize the frame with the width and height you want.
The style can be one of the following options:
UITableViewStylePlain
UITableViewStyleGrouped
I recommend reviewing UITableView class reference for more information