Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How-to suppress constraint and layout warnings in Xcode 5 on a storyboard?

is there any flag to suppress Ambiguous Layout or Misplaced views for storyboards in Xcode 5.

I am adding the constraints in code and am just using the views in Interfacebuilder as dummies.

I do not want to apply Xcode Resolve auto layout issues since I am happy how the views appear visually in Interfacebuilder?

like image 450
jack Avatar asked Mar 12 '14 12:03

jack


1 Answers

Select Project Build Settings -> Interface Builder XIB Compiler - Options -> Show Warnings -> set to "NO"

Note that if you wish to clear existing warnings you can clean your project using Shift+⌘+k

like image 107
NSTJ Avatar answered Oct 25 '22 23:10

NSTJ