共用方式為


UIView.SafeAreaInsets 屬性

定義

取得放置內容的內嵌,讓導覽列、工具列和其他內容不會遮蔽內容的檢視。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIEdgeInsets SafeAreaInsets { [Foundation.Export("safeAreaInsets")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; }
member this.SafeAreaInsets : UIKit.UIEdgeInsets

屬性值

屬性

適用於