iphone - Is there a way to limit how many items scrolled per swipe in UITableView? -
i thinking of putting uitableview on it's side make carousel, i'd limit number of item gets scrolled every swipe. think screenshot carousel in apple app store, when swipe, scrolls 1 item @ time. doable? uitableview right control use?
you can set pagingenabled
yes
, way uiscrollview (or uitableview, subclass of uiscrollview) stop on multiples of scroll view’s bounds when user scrolls. take here http://developer.apple.com/library/ios/documentation/uikit/reference/uiscrollview_class/reference/uiscrollview.html#//apple_ref/occ/instp/uiscrollview/pagingenabled
Comments
Post a Comment