2011-08-18 81 views
1


如何在使用UISearchBar时更改背景。
当我开始搜索时,UITableView后面的背景变为白色。
我该如何改变这种情况?搜索时的UISearchBar背景

感谢

回答

1

我有搜索栏和其操作的UITableView的一个很好的例子。

我想这个博客应该可以帮助你..

http://www.xcode-tutorials.com/uitableview-%E2%80%93-4-searching-table-view/

在这个例子中,他们使用的tableview与搜索栏,并与层视图,当你触摸搜索栏

享受...

+0

这不是我在找什么,但感谢博客。 – Mush

+0

我在这里找到了解决方案:http://stackoverflow.com/questions/1617224/how-to-add-a-custom-background-to-uisearchdisplaycontrollers-table-view – Mush

+0

这就是很好的享受它... – PJR