1
UISearchcontroller
을 사용할 때 취소 단추가 있습니다.UISearchcontroller 취소 단추 대리자
내가 취소 버튼을 누르면 어떤 일이 일어나길 원합니다.
취소 버튼을 클릭 할 때 트리거되는 기능 또는 위임은 있습니까?
UISearchcontroller
을 사용할 때 취소 단추가 있습니다.UISearchcontroller 취소 단추 대리자
내가 취소 버튼을 누르면 어떤 일이 일어나길 원합니다.
취소 버튼을 클릭 할 때 트리거되는 기능 또는 위임은 있습니까?
이 시도 :
self.searchController.searchBar.delegate = self;
- (void)searchBarCancelButtonClicked:(UISearchBar *)searchBar {
}