Xcode 9.1 Warns "Language directional layout margins before iOS 11.0"
Asked Answered
B

1

6

I noticed an Xcode warning that said :

"Language directional layout margins before iOS 11.0"

Even this question left unanswered in Apple developer forum thead.

I have used storyboard & warning doesn't lead to any specific view.

What is the cause or any solution ?

Bozarth answered 30/11, 2017 at 11:58 Comment(0)
B
6

I am able to figure out the cause for the warning.

In Storyboard -> Size Inspector, set Layout Margin to Default. Which was Language Directional before.

Size_inspectory_screenshot

As per documentation, for the root view of a view controller, UIKit enforces a set of minimum layout margins to ensure that content is displayed correctly. When the values in the Language Directional property are less than the minimum values, UIKit uses the minimum values instead.

Bozarth answered 30/11, 2017 at 12:6 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.