2016-02-12 79 views

回答

0

假設你有一個IBOutlet變量設置爲UISearchBar,只要使用方法:Apple Docs可用

searchBar.resignFirstResponder() 

更多關於響應的相關信息。