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

前端 未结 2 1989
暖寄归人
暖寄归人 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

    0 讨论(0)
  • 2021-02-12 17:18

    I needed to completely restart Xcode for the

    Interface Builder XIB Compiler - Options 
    WARNINGS Flag = NO
    

    to be considered!

    0 讨论(0)
提交回复
热议问题