I put some text and images in this views, when put one or two views is ok, but all views is gone when i put over five views. The last image is result view. Is it because the cell has a limited length?
Finally, i use single cell prototype, but i really want to know why.
Does it work now ? If so, you can close the thread on the correct answer.
I do not understand exactly what problem you had. But the principle of TableView is to have cells which are similar in design with content that depend on the data defined in the dataSource (usually an array of some struct that contain all texts, references to images, button state…).
You should not define the content of cells in IB for each cell, but do it in
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
where you populate the cell content with the data from dataSource.
If you have cells which have different design, you create several prototypes and select which to dequeue in cellForRowAt before populating.
Hope that helps. If not clear yet, please show the code of tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath)