xcode - uiscrollview paging skipping pages? -
hi have uiscrollview have 4 images buttons laid out vertically in storyboard, have paging enabled skips of images , snaps onto lastly one.is there way create stop on each fullscreen image without loading bunch of uiviews? here code have pretty basic. .h
iboutlet uiscrollview *scroller2; } @property (nonatomic, strong) iboutlet uiscrollview *scroller2; @end .m @synthesize scroller2; [scroller2 setcontentsize:cgsizemake(320, 3543) ]; scroller2.pagingenabled = yes;
i dont have plenty rep post comment reply have suffice.
i having problems replicaing problem wondering please if post size of imageviews within scrollview. loading images web somewhere or local images?
the way paging enabled works assumes every "page" or imageview , image in case right next each other no gaps. calculates pages adding whatever screen size of device , snapping next point. when skipping photos mean snapping halfway downwards photo in cases or skipping right end?
if seek , lay out right underneath each other in blocks of 480px paging enabled should work you.
hope of help, allow me know how on
xcode uiscrollview paging scroll-paging
No comments:
Post a Comment