David Silva
David Silva

Reputation: 2017

Xcode: how to hide warnings on a storyboard?

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"

enter image description here

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

Answers (1)

Saranjith
Saranjith

Reputation: 11577

These warnings are kept for a reason. As Woof said in comments, its not fair looking a way to hide the warnings.

For hiding warnings from your Issue Inspector you could have used the answer i have posted here

enter image description here

Upvotes: 4

Related Questions