我在故事板文件中有一个带UI的UITableViewController。我在UITableView上拖放了一个UIView。它在Interface Builder中看起来很棒,但在运行时根本不显示:
有关如何解决的任何提示?
更新:我的项目基于本教程:https://devcenter.heroku.com/articles/ios-core-data-buildpack-app#add-new-tasks - 但其中一个不同之处在于教程使用的是NIB文件而且我有一个Storyboard文件。
答案 0 :(得分:0)
尝试在viewDidLoad中使用bringToFront方法:
[tableView bringSubviewToFront:view];