UISearchController.GetPresentationControllerForPresentedViewController(UIViewController, UIViewController, UIViewController) UISearchController.GetPresentationControllerForPresentedViewController(UIViewController, UIViewController, UIViewController) Method

Definition

Gets the presentation controller to use to manage the view hierarchy when the app presents this controller.

[Foundation.Export("presentationControllerForPresentedViewController:presentingViewController:sourceViewController:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIPresentationController GetPresentationControllerForPresentedViewController (UIKit.UIViewController presentedViewController, UIKit.UIViewController presentingViewController, UIKit.UIViewController sourceViewController);
abstract member GetPresentationControllerForPresentedViewController : UIKit.UIViewController * UIKit.UIViewController * UIKit.UIViewController -> UIKit.UIPresentationController
override this.GetPresentationControllerForPresentedViewController : UIKit.UIViewController * UIKit.UIViewController * UIKit.UIViewController -> UIKit.UIPresentationController

Parameters

presentedViewController
UIViewController UIViewController
presentingViewController
UIViewController UIViewController
sourceViewController
UIViewController UIViewController

Returns

Applies to