布局问题

时间:2015-06-26 08:39:54

标签: objective-c uiscrollview interface-builder nsautolayout

我的应用看起来有点小问题。我不希望在屏幕顶部看到这种转变。虽然在IB中创建这个场景没有一个,但它在我启动应用程序时出现。如果有人能帮助我解决这个问题,我将非常感激。

enter image description here

1 个答案:

答案 0 :(得分:1)

You can fix this as follows:

  1. In your storyboard, select the view controller that is giving the issue (You can use the yellow icon on top of view controller to select it).
  2. Click on the attribute inspector
  3. Uncheck the 'Adjust Scroll View Insets'

enter image description here