【发布时间】:2015-03-22 23:47:41
【问题描述】:
UISearchBar 对象和它的UISearchBarTextField 子视图都返回NO 为canBecomeFirstResponder。在什么情况下UISearchController 会阻止搜索?
【问题讨论】:
标签: ios cocoa-touch uikit uisearchbar uisearchcontroller
UISearchBar 对象和它的UISearchBarTextField 子视图都返回NO 为canBecomeFirstResponder。在什么情况下UISearchController 会阻止搜索?
【问题讨论】:
标签: ios cocoa-touch uikit uisearchbar uisearchcontroller
这是因为包含搜索栏的视图控制器尚未被视为“出现”。
【讨论】: