iPhone SDK: UIScrollView does not scroll

后端 未结 2 1810
生来不讨喜
生来不讨喜 2021-02-15 00:24

I just can\'t get my scroll view to actually scroll.. Everything displays fine except it just won\'t scroll..... Here\'s my code:

- (void)viewDidLoad {
    [supe         


        
2条回答
  •  名媛妹妹
    2021-02-15 01:02

    your scrollview frame should be smaller than contentSize,so only you can make scrollview scrollable.

提交回复
热议问题