I want to use the xib to setup a static UITableview. How can do to get it? I don't find the button to set tableView static or dynamic. How about use the storyboard?
Asked
Active
Viewed 1,133 times
3
-
please clarify what you mean when you say _static_ or _dynamic_ `UITableView`; you may refer to not handling user-interaction? or disable the scrolling only? or show determined amount of cells? or fixed size on the screen on each device? or what exactly do you want to make _static_ in a `UITableView`? – holex Dec 10 '15 at 10:39
2 Answers
7
It isn't possible with xibs. If you want to use static cells in your UITableView, you'll have to use storyboard.

Nikita Ilyasov
- 500
- 2
- 14
-2
Go to tableView
properties and change Content
to Static Cells
, look at this tutorial

B.S.
- 21,660
- 14
- 87
- 109
-
This seems to be possible only with storyboards not in xib files. – Andrea Gorrieri Feb 12 '18 at 09:44