For an alert dialog, I added a UITableView, then while I try to Table View Cell the Interface Builders doesn't accept dropping Table View Cell "on" table view, please check screenshot, I should mention the root is UIView, not UIViewController:
Asked
Active
Viewed 3,171 times
2 Answers
8
You are using XIB with UITableView
so You can't directly add cell of table view same like StoryBoard but You need to create separate XIB of UITableViewCell
use with your table view.
For more information look at below.

iPatel
- 46,010
- 16
- 115
- 137
3
I'm sorry, but prototype cells are available only in storyboard-based projects.
Cannot add a PrototypeCell to UITableView inside xib file
You have to create custom UITableViewCell For UITableView

Ashish
- 2,977
- 1
- 14
- 32