Add a Subview to a UITableView in Storyboard

I have been trying to add a subview to a UITableView (not a UITableViewCell, but the UITableView itself) in storyboard. It seems like the only views that can be added to the UITableView in storyboard are the tableheaderview and the tablefooterview. I have done pretty extensive research and I do believe that this is the best approach (as opposed to adding a view above the UITableView). I need to be able to tap buttons on the view but also have it scroll the tableview when touches are on the UIView. But, I want to use storyboards.

Is this possible in storyboard? (if so, how?)

Is this ill-advised for some reason (if so, alternative suggestion would be appreciated)

链接地址: http://www.djcxy.com/p/87690.html

上一篇: 从父iOS访问容器视图控制器

下一篇: 在Storyboard中向UITableView添加一个子视图