2014-10-22 41 views
0

我想添加一个按钮到headerView,它可以从故事板或仅编程?可以定制故事板中的UITableView头?

+0

在其中创建自定义的UIView作为headerView和按钮... – hmdeep 2014-10-22 07:24:42

+0

请参见教程中,我加入... – hmdeep 2014-10-22 07:26:50

+0

重复这一点,它在storyboard中设计视图,将其添加到单元格,并从'viewForHeaderInSection'中的单元格中提取视图:http://stackoverflow.com/questions/9219234/how-to-implement-custom-table-view-section-headers-页脚和页脚 – 2014-10-22 07:29:40

回答

0

创建自定义的UIView如headerView和它的按钮..

试试这个博客here

+1

请将它作为评论未回答。 – 2014-10-22 07:23:51