9

I have set paging property of scroll view to 'scrollview.pagingEnabled = YES'. When tested it seems to be working in IOS 4 and above but it is not working on iOS 3.1.3. Can any one help me with this?

SeriousSam
  • 219
  • 2
  • 14
PgmFreek
  • 6,374
  • 3
  • 36
  • 47

3 Answers3

1

I had this exact same problem! I found that in iOS < 3.2 pagingEnabled=YES only works if bounces=YES which is a bummer. I didn't want bounces to be enabled so in my app I check if iOS < 3.2 and then only enable bounces for those older iOS version.

ToddH
  • 2,801
  • 2
  • 28
  • 28
0

Keep Paging Enabled checked for ScrollView in interface builder.

itZme
  • 1,439
  • 9
  • 14
0

You should be able to start with pagingEnabled and bounces both set to YES

and then you can set set contentSize=CGSizeMake(width, height);

Rakesh Bhatt
  • 4,606
  • 3
  • 25
  • 38