UISearchController.GetPresentationControllerForPresentedViewController 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
presentingViewController
UIViewController
sourceViewController
UIViewController

Returns

Attributes

Applies to