insetsLayoutMarginsFromSafeArea
A Boolean value indicating whether the view’s layout margins are updated automatically to reflect the safe area.
Declaration
var insetsLayoutMarginsFromSafeArea: Bool { get set }Mentioned in
Discussion
When the value of this property is true, any margins that are outside the safe area are automatically modified to fall within the safe area boundary. The default value of this property is true. Changing the value to false allows your margins to remain at their original locations, even when they are outside the safe area.