UIPopoverController.SetContentViewController Method

Definition

Changes the view controller that will display the contents of the popover.

[Foundation.Export("setContentViewController:animated:")]
public virtual void SetContentViewController (UIKit.UIViewController viewController, bool animated);
abstract member SetContentViewController : UIKit.UIViewController * bool -> unit
override this.SetContentViewController : UIKit.UIViewController * bool -> unit

Parameters

viewController
UIViewController

A new view controller to use for displaying the content of the popover.

animated
Boolean

If true, the the display of the viewController will be animated.

Attributes

Applies to