iOS 7 Navigation Bar and Scroll View are different in storyboard and simulator

前端 未结 3 2084
温柔的废话
温柔的废话 2021-01-16 08:14

I have a navigation controller with navigation bar, not translucent. I added a scroll view to the root view. But when I run the app, it show different from what I saw in Sto

3条回答
  •  忘掉有多难
    2021-01-16 09:04

    please check the following:

    1. is auto layout on? then turn it off

    2. Are you using a simulator of different size? (story board is for 4 inch, while simulator is 3.5 inch) if that so, many things are to set up like turning off autoSizing right and bottom constraints

    Hope this helps

提交回复
热议问题