Reputation: 2822
i am displaying a large table in my uiview ...the problem is i need to scroll this tableview horizontally also.
i tried to place the tableview in a scroll view.
made the scrollview connected to the view outlet and connected the table to a tablview iboutlet
made the scroll views size (320,460) and uitableviews size (1000,460)
but i am not able to scroll the table horizontally.is there a better way to accomplish this(ie display a wide table of width around 1000).
Upvotes: 0
Views: 719
Reputation: 3020
set the UIScrollView contentSize property through code and make sure that UIScrollView contentSize property will have the same height but it would have a greater width than tableView.
Upvotes: 1
Reputation: 6067
See Same At below Link
UITableView scroll both vertically and horizontally
Upvotes: 1