Horizontal UITableView

后端 未结 7 866
别跟我提以往
别跟我提以往 2020-11-27 13:34

I want implement a layout in my ipad application that has a uitable view that scrolls left and right rather then up and down :

So rather than

row 1 row 2 ro

相关标签:
7条回答
  • 2020-11-27 14:26

    For now you have to use UIScrollView and set scrolling to horizontal only. As for the data you need handle the dequeing and optimizations yourself. If you do not expect more than a dozen or so objects then you can probably skip it, but if they are data intensive try to implement a similar data sourcing and loading as UITableView uses. Note that the BBC News reader app also uses paging enabled to scroll by each 'page (4 or so news icons)'.

    0 讨论(0)
提交回复
热议问题