Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在我输入时阻止 UISearchDisplayController 更新?numberOfRowsInSection 在用户键入时被多次调用。
您可以将UISearchBar的委托更改为您的视图控制器,然后仅将一些消息转发到UISearchDisplayController.
UISearchBar
UISearchDisplayController