iphone - Setting ContentOffset of a UIScrollView while Scrolling -


this first question have asked here bear me


. i've done quite bit of looking have been unsuccessful in finding solution worked figured i'd toss out here.

i using uiscrollview try , display bunch of uiimageviews.

i have 20 uiimageviews loaded scroll view @ 1 time. i'm doing @ moment show more 20 photo's have uiimageviews update new uiimages every time contentoffset reached. whenever user scrolls down past contentoffset of 95 offset reset 0 , new pictures loaded. picked number gave illusion of continual scrolling user not see reloading/resetting of view. same thing happens when scroll upwards past 0.

my problem when flick uiscrollview (so continues scroll itself) seems if contentoffset not resetting it's supposed be. view resetting , 1 iteration offset 0, in next iteration ( split second later ) offset in 120's or 130's , it's jumping down if i've reached end of next screen.

anyone have idea how reset contentoffset while uiscrollview scrolling?

apparently inertia algorithm isn't compatible you're doing. why not let scroll freely , instead recycle imageviews scroll outside of visible rect ones appear @ other side? (just tableview works)


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -