UISearchDisplayDelegate_Extensions 类

定义

接口的 IUISearchDisplayDelegate 扩展方法,以支持协议中的所有方法 UISearchDisplayDelegate

public static class UISearchDisplayDelegate_Extensions
type UISearchDisplayDelegate_Extensions = class
继承
UISearchDisplayDelegate_Extensions

注解

的扩展方法 IUISearchDisplayDelegate 允许开发人员将 接口的实例视为具有原始 UISearchDisplayDelegate 协议的所有可选方法。 由于 接口仅包含所需成员,因此这些扩展方法允许开发人员调用协议的可选成员。

方法

DidBeginSearch(IUISearchDisplayDelegate, UISearchDisplayController)

开发人员不应使用此已弃用的方法。

DidEndSearch(IUISearchDisplayDelegate, UISearchDisplayController)

指示搜索已结束。

DidHideSearchResults(IUISearchDisplayDelegate, UISearchDisplayController, UITableView)

指示控制器隐藏其结果表视图。

DidLoadSearchResults(IUISearchDisplayDelegate, UISearchDisplayController, UITableView)

指示控制器已加载其 UITableView 结果。

DidShowSearchResults(IUISearchDisplayDelegate, UISearchDisplayController, UITableView)

指示控制器已开始显示其 UITableView 结果。

ShouldReloadForSearchScope(IUISearchDisplayDelegate, UISearchDisplayController, nint)

如果搜索选项发生更改,是否应重新加载数据。

ShouldReloadForSearchString(IUISearchDisplayDelegate, UISearchDisplayController, String)

给定搜索字符串的更改,是否应重新加载数据。

WillBeginSearch(IUISearchDisplayDelegate, UISearchDisplayController)

指示搜索即将开始。

WillEndSearch(IUISearchDisplayDelegate, UISearchDisplayController)

指示搜索即将完成。

WillHideSearchResults(IUISearchDisplayDelegate, UISearchDisplayController, UITableView)

指示控制器即将隐藏其 UITableView 的结果。

WillShowSearchResults(IUISearchDisplayDelegate, UISearchDisplayController, UITableView)

指示控制器即将显示其 UITableView 的结果。

WillUnloadSearchResults(IUISearchDisplayDelegate, UISearchDisplayController, UITableView)

指示控制器即将卸载其 UITableView 的结果。

适用于