I don’t know why, the red view above sb needs-64 to get the correct real view, the main view controller is nav, please solve it? ? ?

  ios, question

clipboard.png
图片描述

I don’t know why, the red view above sb needs-64 to get the correct real view, and the main view controller is nav, please solve it.

Status bar height = 20 navigationBar default height = 44 You are trying to change the frame of reference with a problem with the upper boundary constraint