开发者

UITabBar in Landscape with UITableView in Portrait

开发者 https://www.devze.com 2022-12-19 05:36 出处:网络
I am creating a large line graph, composed of several custom UIViews showing different sections of data within UITableViewCells, to facilitate easy scrolling of the graph.The problem is, that since UI

I am creating a large line graph, composed of several custom UIViews showing different sections of data within UITableViewCells, to facilitate easy scrolling of the graph. The problem is, that since UITableViews don't support horizontal scrolling or more than one cell in any given row, I can only correctly view the data if, while the view is in portrait mode, I hold the iphone sideways. However, this is a tab-based application, so the tabbar looks out of place w开发者_开发问答hen I do this. I have been able to change the orientation of the top status bar, but how can I change the position of the tabbar to landscape, while keeping the uitableview portrait?


You may need to take a step back and build a custom view based on the UIScrollView rather than trying to use the UITableView to display your graph data.

0

精彩评论

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