问题描述
- UISearchBar“取消”按钮
-
点击UISearchBar“取消”按钮,为何进入- (void)searchBarTextDidBeginEditing:(UISearchBar *)searchBar{ }方法,而不是期望的- (void)searchBarCancelButtonClicked:(UISearchBar *)searchBar{ }方法,为什么?
解决方案
UISearchBarBackground
2014-05-20 16:57:52.007 CustomTabBar[1670:60b] UISearchBarTextField
2014-05-20 16:57:52.008 CustomTabBar[1670:60b] UINavigationButton......
答案就在这里:修改UISearchBar 取消按钮
解决方案二:
UISearchBar 点击取消后跳动的问题
http://www.cnblogs.com/skyming/p/4059128.html
时间: 2024-11-22 20:22:21