IUISearchDisplayDelegate 接口

定义

表示所需方法的接口 ((如果协议 UISearchDisplayDelegate有任何) )。

[Foundation.Protocol(Name="UISearchDisplayDelegate", WrapperType=typeof(UIKit.UISearchDisplayDelegateWrapper))]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IUISearchDisplayDelegate : IDisposable, ObjCRuntime.INativeObject
type IUISearchDisplayDelegate = interface
    interface INativeObject
    interface IDisposable
派生
属性
实现

注解

此接口包含所需的方法 ((如果任何) 由 UISearchDisplayDelegate定义的协议)。

如果开发人员创建实现此接口的类,则实现方法将自动导出到 Objective-C,并使用协议中 UISearchDisplayDelegate 定义的方法的匹配签名。

可选方法 (类是否提供 UISearchDisplayDelegate_Extensions 任何) 作为接口的扩展方法,从而允许开发人员在协议上调用任何可选方法。

属性

Handle

处理指向非托管对象表示形式的 (指针) 。

(继承自 INativeObject)

扩展方法

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 的结果。

适用于