开发者

UITableView scroll horizontal (to right or left)

开发者 https://www.devze.com 2023-01-01 00:39 出处:网络
I display about 8 images in a per row of UITableView. But iphone width is enough for 3 or 4 images. How can I scroll UITableView to right and left to see other开发者_高级运维s?

I display about 8 images in a per row of UITableView. But iphone width is enough for 3 or 4 images. How can I scroll UITableView to right and left to see other开发者_高级运维s?

Thank you.


Subclass a UITableCellView and place a UIScrollView inside it.


yes. You can use UI scroll View inside tableview cell for row index.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号