Warning frame for “Navigation bar” will be different at run time appears in Xcode 8 Swift 3

前端 未结 14 2125
别跟我提以往
别跟我提以往 2020-12-02 07:35

Before I\'ve upgraded to Xcode 8 I haven\'t seen this error in such case. I have different Navigation Controllers. For all of them I see an error Frame fo

14条回答
  •  忘掉有多难
    2020-12-02 08:02

    This worked for me at Xcode 8.3.1 After restarting Xcode, it would still work.

    1. Select Navigation Controller

    1. Go to Show the Size Inspector

    1. Change Simulated Size to Freeform

    1. Change Simulated Size back to Fixed

    1. Then the warnings disappear.

提交回复
热议问题