Share via


UISplitViewControllerDelegate.ShouldHideViewController 方法

定义

开发人员不应使用此已弃用的方法。 开发人员应改用“UISearchController”。

[Foundation.Export("splitViewController:shouldHideViewController:inOrientation:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'UISearchController' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ShouldHideViewController (UIKit.UISplitViewController svc, UIKit.UIViewController viewController, UIKit.UIInterfaceOrientation inOrientation);
abstract member ShouldHideViewController : UIKit.UISplitViewController * UIKit.UIViewController * UIKit.UIInterfaceOrientation -> bool
override this.ShouldHideViewController : UIKit.UISplitViewController * UIKit.UIViewController * UIKit.UIInterfaceOrientation -> bool

参数

svc
UISplitViewController

可触发其操作的指定拆分视图控制器。

viewController
UIViewController

指定的视图控制器。

inOrientation
UIInterfaceOrientation

指定的方向。

返回

属性

适用于