UITabBarController.SetViewControllers(UIViewController[], Boolean) 方法

定义

分配由此 UITabBarController 的接口显示的 UIViewControllers。

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

参数

viewControllers
UIViewController[]
animated
Boolean
属性

适用于