2010-06-23 75 views

回答

2

有當搜索按鈕被按下

- (void)searchBarSearchButtonClicked:(UISearchBar *)searchBar 

{ 

     //CALL YOUR IBACTION METHOD HERE 
} 

-Happy編碼其燒成一個委託方法

0
(BOOL)textFieldShouldReturn:(UITextField *)textField{ 
    [self yourButtonName:nil]; 
} 
相關問題