How to make a horizontal UI table view on iPhone?

前端 未结 9 1449
小鲜肉
小鲜肉 2020-12-25 13:59

Normally, the UITableView is something like this:

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

But I want to mak

9条回答
  •  梦毁少年i
    2020-12-25 14:32

    What you have is simply a standard table displayed in portrait orientation, but your are holding the phone in landscape mode. Rotate the contents of each cell 90 degrees and your there. And be sure to ignore any orientation change notifications.

提交回复
热议问题