I have very complex cell in UITableView
within UIViewControllerA
. Now I need to use the same cell within UITableView
of UIViewControllerB
.
registerNib:forCellReuseIdentifier
?You mentioned you don't want to use xib
. Storyboards don't support this and therefore the last option you have is to construct your UITableViewCell
in code. With the new Auto Layout anchors, it's not that bad.
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.