Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在苹果的文档中找不到任何具体的例子。我想以编程方式向表格视图添加两到三个按钮,就像联系人应用程序对联系人信息上的发送短信/添加到收藏夹按钮所做的那样。有谁知道如何配置这个?
我在我的应用程序中所做的是创建一个带有按钮的视图,并在 UITableView 委托的tableView:viewForHeaderInSection: 和/或方法中返回该视图。tableView:viewForFooterInSection:
tableView:viewForHeaderInSection
tableView:viewForFooterInSection: