ios - 初学者 : How to present UITableView programmatically from another view

标签 ios uitableview

我已经使用 Storyboard和界面生成器创建了嵌入导航器 Controller 中的 UITableViewController。

我想以编程方式从我已有的另一个 UIViewController 中显示此 UITableViewController。

怎么做?

最佳答案

你真的应该阅读View Controller Programming Guide for iOS .

特别是,了解容器 View Controller (例如 UINavigationControllers 以及如何将新 View Controller 推送到其堆栈上)和临时呈现 View Controller (描述如何呈现模态视图 Controller )。

关于ios - 初学者 : How to present UITableView programmatically from another view,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9454164/

相关文章:

ios - 在屏幕特定位置的 TableView Controller 顶部添加 subview

ios - Apple Wallet NFC 加密公钥

ios - UIPickerView 不会在 ScrollView 上移动

swift - 将对象从 tableview 传递到目的地,其间有 RevealViewController

uitableview - 如何从 UITableview 的选定行中获取 cell.label.text 值?

ios - 删除行后,UITableView 不会更新

ios - 单击tableview Cell中的Collectionview时如何找到tableview的索引路径

ios - 延迟加载 UIScrollView 或 UITableView

iOS 一些 UIImageView 被拉伸(stretch)

ios - 实例化——它有什么作用?