UIPopoverController.SetContentViewController Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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