Reputation: 479
I'm using Xcode version 9.2, I have tried to delete the derived data but still getting empty warning message for storybard as show in pic below. I cannot know what is the problem if the warning is empty, any idea how to fix this?
Update
I have solve the warning by change the constraint from this
- Left constraint "Greater Than or Equal" with first item as TextView.Leading and second item as Superview.Leading.Margin
- Right constraint "Greater Than or Equal" with first item as Superview.Trailing.Margin and second item as TextView.Trailing
to this by just reverse first and second item for "2"
- Left constraint "Greater Than or Equal" with first item as TextView.Leading and second item as Superview.Leading.Margin
- Right constraint "Less Than or Equal" with first item as TextView.Trailing and second item as Superview.Trailing.Margin
How ever I'm not sure why this will cause the empty warning message
Upvotes: 4
Views: 387
Reputation: 1486
Try these steps:
It should work!!
Upvotes: 0
Reputation: 616
Silence the fixed-width warnings by changing the width of the object spacings from fixed width to greater than or equal or less than or equal.
This can be done by selecting the object in interface builder, going to the size inspector and changing it there:
Or, select the constraint from the document outline, go to size inspector, and change it there:
Fixed leading and trailing constraints with a center constraint may cause clipping
This will certainly solve all your localization issues :: Xcode 9 - Localization Issue Warning Storyboard
Upvotes: 1