简体   繁体   English

如何将标题和按钮放在表格视图的顶部?

[英]How can I put heading and button at the top of the table view?

如何在表格视图顶部设置标题“设置”,并在右上角设置“完成”按钮?

只需将它们放在 tableView 上方,以便它们作为表格的一部分出现和工作,但它们不需要是 tableView 元素。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在表格视图中添加按钮作为附件? - How can I add a button as an accessory on a table view? 如何轻按按钮即可撤消对表格视图单元格的重新排序 - How can I undo the reordering of table view cells on the tap of a button 如何在表格视图单元格的顶部和底部放置阴影? - How can i drop shadow to top and bottom of view which is inside the table view cell? 如何将UIActivityIndi​​catorView放在NavigationBar按钮的顶部(rightBarButtonItem / leftBarButtonItem) - How do I put a UIActivityIndicatorView on top of a NavigationBar button (rightBarButtonItem/leftBarButtonItem) 我可以将表格视图放入页面视图控制器中吗? - Can I put a table view within a page view controller? 我可以将页面视图控制器放在表格视图单元格中吗? - Can I put a page view controller within a table view cell? 如何在一个视图控制器上使用按钮将文本添加到另一个视图控制器的表视图中的行? - How can I use a button on one view controller to add text to a row in a table view in another view controller? 如何在UIPageViewController顶部添加按钮? - How can I add a button on top of a UIPageViewController? 如何将图标放在我的 textFormField/ 文本字段的左上角? - How can i put the icon on the left top in my textFormField/ textfield? 如何将 label 放入表格单元格中? - How can i put label into the table cell?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM