UIScrollView doesn't scroll after upgrading to iOS7 / xcode 5

后端 未结 9 1951
抹茶落季
抹茶落季 2020-12-03 03:42

I have an app which in xcode 4.5 and ios 6.1 worked perfectly fine when scrolling. However, after downloading xcode 5 and iOS 7 my scroll views does not work anymore.???

9条回答
  •  猫巷女王i
    2020-12-03 04:09

    With AutoLayout enabled, make sure Vertical Spacing (@"V:|-[subview]-|") is applied between the UIScrollView and its subview. If your scrollView is for horizontal scrolling, apply Horizontal Spacing (@"H:|-[subview]-|").

提交回复
热议问题