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。UITableViewController我试图在窗口中间显示表格(3 个单元格)。我的类是继承UITableViewController类。请有人给我建议。或替代方法来做到这一点。谢谢你。
UITableView
UITableViewController
尝试创建一个 UIViewController,并在其中放入一个 UITableView。我认为您可以设置 tableView 的 origin.y。确保设置 UITableView 的数据源和委托。祝你好运。