Access UI elements in UITableView section header

前端 未结 1 1746
终归单人心
终归单人心 2021-01-25 21:19

I created a header section for my UITableView following this post: https://stackoverflow.com/a/11396643/1568886. The issue I\'m having now is accessing the buttons

相关标签:
1条回答
  • 2021-01-25 21:28

    You need to create a custom UITableViewCell, create a class for it and connect the buttons and labels to the class you created instead of the TableViewController. I used this tutorial to learn how to do it:

    http://www.appcoda.com/customize-table-view-cells-for-uitableview/

    0 讨论(0)
提交回复
热议问题