共用方式為


UINavigationItem.SearchController 屬性

定義

取得或設定要用於搜尋導覽的控制器。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UISearchController SearchController { [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("searchController", ObjCRuntime.ArgumentSemantic.Strong)] get; [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("setSearchController:", ObjCRuntime.ArgumentSemantic.Strong)] set; }
member this.SearchController : UIKit.UISearchController with get, set

屬性值

(即將推出此節點的更多檔)

這個值可以是 null

屬性

適用於