Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

amalshah71

macrumors member
Original poster
Feb 1, 2009
51
0
I have a subclass of UIScrollView.

with frame as CGRectMake(0,0,320,460)

and UIScrollView's contentSize as CGSize(320,1000)


say for eg a scroll event takes place and contentOffset moves to (0,500)

Now when next time a scroll event starts the contentOffset resets itself to (0,0) and then the scrolling action takes place besides starting from (0,500) where it left previously

Am i missing something to prevent restting of contentOffset

amal
 
such a thing seems to be happening with SDK 2.2.1 and below but not with 3.0...

with 3.0 it worked perfectly fine...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.