I want to make a tableView like this:
http://www.topappreviews101.com/ipappimg/4025/moma-ab-ex-ny-screenshot-3.jpg
I created a horizontal table view, and rotate every cell:
self.tableView.transform = CGAffineTransformMakeRotation( -M_PI/2 );
self.tableView.showsHorizontalScrollIndicator = NO;
self.tableView.showsVerticalScrollIndicator = NO;
and
cell.contentView.transform = CGAffineTransformMakeRotation( M_PI/2 );
And my problem is: how to create horizontal header at the side of table (check pic开发者_Go百科ture plz)?
Use UILabel
for that and rotate them in relative motion of your table on the same event.
精彩评论