2011-08-18 87 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