ios - How do you build a 3 column layout of varying height images for the iphone -
i need create screen scrolls vertically - tableview need 3 columns , within 3 columns need add images of varying height - not fit rows tableview can provide.
should create 3 tableviews , lay them out side side - or else. think build positioning images using coordinates wanted benefit methods table view can provide.
if want columns act stuck together, scroll simultaneously, think best approach use uiscrollview
images added in correct placed "by hand." uitableview , friends not built handle non-lined columns.
added if use uiscrollview
, , have large number of images want display (that is, user can scroll long time), wise recycle uiimageview
objects scrolled off screen. uitableview
uitableviewcell
objects, , that's why uitableview
wins. can win, too, if code carefully.
Comments
Post a Comment