Reputation: 2017
I often add the constraints in code and the warnings are useless. I am looking for a way to effectively hide warnings for storyboards.
The following solution is unfortunately unsuccessful:
Select Project Build Settings -> Interface Builder XIB Compiler - Options -> Show Warnings -> set to „NO"
Select Project Build Settings -> Interface Builder Storyboard Compiler - Options -> Show Warnings -> set to „NO"
This does not work!
I have cleaned my project and restarted Xcode, but the warnings (for example Ambiguous Layout: Scrollable content size is ambiguous for „scrollView”) continue to appear.
Upvotes: 14
Views: 1040