【发布时间】:2012-11-01 10:49:36
【问题描述】:
我想得到这样的行为: 我有一个 UISearchBar,它是我的表视图的表头视图。滚动表格时,搜索栏确实会移动,但如果您在表格边界上方滚动,搜索栏将永远不会停止接触导航栏。
我在这里找到了一个很好的答案 - Locking a UISearchBar to the top of a UITableView like Game Center 但它不适用于 iOS 6 - 使用表格视图标题框架的操作不起作用
这可能是什么原因?
【问题讨论】:
标签: ios uitableview ios6 uisearchbar tableheader