Share via


UIViewController.ShouldAutomaticallyForwardAppearanceMethods 屬性

定義

外觀方法是否應轉送至子 UIViewController 系。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ShouldAutomaticallyForwardAppearanceMethods { [Foundation.Export("shouldAutomaticallyForwardAppearanceMethods")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; }
member this.ShouldAutomaticallyForwardAppearanceMethods : bool

屬性值

預設值是 true

屬性

備註

覆寫此成員並將其設定為 false 的應用程式開發人員,負責控制其子 UIViewControllerUIView 系的外觀。 應用程式開發人員應該適當地呼叫其子 UIViewControllerBeginAppearanceTransition(Boolean, Boolean) 的 和 EndAppearanceTransition() 方法。

適用於

另請參閱