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

前端 未结 2 2028
暖寄归人
暖寄归人 2021-02-12 16:42

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 Interfac

2条回答
  •  没有蜡笔的小新
    2021-02-12 17:08

    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

提交回复
热议问题