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.
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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.