如何在iPhone上制作水平UI表格视图? [英] How to make a horizontal UI table view on iPhone?

查看:94
本文介绍了如何在iPhone上制作水平UI表格视图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通常,UITableView是这样的:

Normally, the UITableView is something like this:

[   cell    1   ]
[   cell    2   ]
[   cell    3   ]
[   cell    4   ]

但我想做自己的像这样的UITableView:

But I want to make my own UITableView like this:

   |    |   |   |
   | c  | c | c |
   | e  | e | e |
   | l  | l | l |
   | l  | l | l |
   |    |   |   |
   | 1  | 2 | 3 |
   |    |   |   |

我希望用户左右滑动以获得与原始UITableView类似的行为... 。 ...我怎样才能做到这一点?谢谢。

And I want the user swipe left and right to have the similar behavior like the original UITableView.... ...How can I do this? thank you.

推荐答案

这里有一个项目可能也有用, http://github.com/TheVole/Horizo​​ntalTable

There's a project here that might be of some use as well, http://github.com/TheVole/HorizontalTable

这篇关于如何在iPhone上制作水平UI表格视图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆