标签: iphone cocoa-touch uikit
例如:UITableView中的UISearchbar与iphone地址簿应用程序一样滚动显示名称。
是否可以阻止它滚动以使其保持在顶部?
谢谢!
答案 0 :(得分:4)
如果您不想滚动它,可以设置搜索栏out of table view。
out of table view
或者您可以将搜索栏添加到header of section 0而不是表头。两人都会工作。
header of section 0
快乐的编码......