scroll image using UIscrollview

Posted by summer on Stack Overflow See other posts from Stack Overflow or by summer
Published on 2009-12-18T04:35:06Z Indexed on 2010/03/30 7:03 UTC
Read the original article Hit count: 459

i looked at the example from the iphone dev: http://developer.apple.com/iphone/library/samplecode/Scrolling/index.html

everything looks cool except that for 5 image they set the "const NSUInteger kNumImages = 5;"

what happens is that what if i have 1000 images?and i wan to view it without having to change the number everytime?also if i will to set the number to 1000 and i have only 10 images then in the simulator the user can scroll "blank view" till it reaches count 1000!

help please..thanks

© Stack Overflow or respective owner

Related posts about iphone-sdk

Related posts about uiscrollview