隨着這種幫助的時候:白線和「無結果」開頭鍵入
- (void)viewDidLoad {
[super viewDidLoad];
[self.searchDisplayController setActive:YES];
[self.searchDisplayController.searchBar becomeFirstResponder];
}
我想表現的鍵盤當視圖加載搜索。它工作得很好,但它看起來相當醜(爲什麼白線在那裏?):
search table with white lines http://img42.yfrog.com/img42/7503/latest1.png
當我開始寫,並刪除所有它看起來的信件像它從一開始就應該:
search table withour white lines http://img3.yfrog.com/img3/6176/testpn.png
我該如何解決這個問題?
而我還有另一個問題。當我開始鍵入內容時,即使在按下「搜索」按鈕之前,它也會立即顯示「無結果」,我該如何改變這種行爲?
search table with 'nothing found' http://img245.yfrog.com/img245/4366/bildschirmfoto20091014ui.png
我會在漢堡的iPhone技術講座上詢問有關這方面的問題,你可以解釋一下這裏發生的事情。 – Jeena 2009-11-11 16:14:59