i need to decrease table view cell of navigation controller to 280*35.. i hav tried with cgrect its not working ...
how can i set
i need to decrease table view cell of navigation controller to 280*35.. i hav tried with cgrect its not working ...
how can i set
The width of a UITableViewCell is always determined by the width of the UITableView that contains it.
You can change the height of your Cell by using UITableViews delegate message tableView:heightForRowAtIndexPath:
You can set row height programmatically, as tonclon pointed out, or, if all rows need to get the same height, set it in Interface Builder as a propery of the UITableView
, in de Inspector window under the size tab. It says "height" right at the top, that's the row height.
This is easier and (presumably) faster.