共用方式為


UIViewController.ViewSafeAreaInsetsDidChange 方法

定義

當安全區域內嵌因大小變更而變更系統橫條或屬性變更 AdditionalSafeAreaInsets 時所呼叫的方法。

[Foundation.Advice("Overriding this method requires a call to the overriden method.")]
[Foundation.Export("viewSafeAreaInsetsDidChange")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.RequiresSuper]
public virtual void ViewSafeAreaInsetsDidChange ();
abstract member ViewSafeAreaInsetsDidChange : unit -> unit
override this.ViewSafeAreaInsetsDidChange : unit -> unit
屬性

適用於