【发布时间】:2014-11-03 03:17:40
【问题描述】:
我想创建一个从 (a) UIButton(在 tableview 的自定义单元格中)和 (b) 自定义单元格到 UIViewController 的 segue。自定义单元格在 .xib 文件中指定。我读到我应该控制从 UIButton / 自定义单元格到 UIViewController 的拖动。这对我不起作用。
- 自定义单元格的 .xib 文件不在情节提要中 - 对吗? 我想它应该在故事板里面。如有必要,我该怎么做?
- 如何创建从 UIButton(在自定义单元格中)/自定义单元格到 UIViewController 的转场?
谢谢!
编辑:我使用 UITableViewController 作为源,目标是带有 UITableView 的 UIViewController。
【问题讨论】:
-
你在 tableView 中使用的是原型单元格还是静态单元格?
-
我正在使用原型单元。
标签: uiviewcontroller swift uibutton custom-cell xcode6-beta5