Problem UIScrollView pagingenabled in IOS 3.1.3

773 Views Asked by At

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?

3

There are 3 best solutions below

0
On BEST ANSWER

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

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

0
On

Keep Paging Enabled checked for ScrollView in interface builder.

0
On

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.