Problem UIScrollView pagingenabled in IOS 3.1.3
Asked Answered
D

3

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?

Dibri answered 17/2, 2011 at 11:44 Comment(5)
I think you can only publish apps targeted to iOS > 3.2 on the App Store, so it doesn't really matter.Firedrake
Can you elaborate on "not working"?Billhook
When i swipes to another page content is not moving like a page in IOS 3.1.3.Dibri
I have the exact same problem with 3.1.3, runs great on iOS 4+Sendai
Ican Zilb, many production apps I work on have a 5% or more 3.x user base so until that number goes down many iOS shops will need to continue supporting 3.x users.Dinahdinan
A
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);

Alsace answered 9/4, 2011 at 6:26 Comment(0)
D
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.

Dinahdinan answered 26/7, 2011 at 18:34 Comment(0)
M
0

Keep Paging Enabled checked for ScrollView in interface builder.

Maudmaude answered 25/2, 2011 at 8:46 Comment(0)
A
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);

Alsace answered 9/4, 2011 at 6:26 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.