iphone - Infinite UIScrollView for whiteboard-like app -
naturally "infinite" uiscrollview question has been asked before, seem related sort of scenario:
a scrollview 4 card subviews on "carousel", i.e. reaching 4th card , swiping in direction of continuation yield 1st card again (and therefore no need scroll backwards).
what want folks @ popplet.com implemented on ipad app, scroll in direction (which unlimited/infinite) canvas resizes allowing practically infinite widget placement.
i know involves sort of kvo observing i'm bit lost. general idea have main contentview placed within scrollview , other views placed inside (those ones can dragged, etc.)
without downloading app , having @ might able use delegate call
- (void)scrollviewdidscroll:(uiscrollview *)scrollview;
and when scrollview close end increase contentsize property of scrollview. when gets called user scrolls possible check if drawn there , decrease necessary. use contentoffset property of scrollview check user in scrollview.
just educated guess said thats way approach given details
Comments
Post a Comment