Skip to content

Instantly share code, notes, and snippets.

@tomohisa
Created April 7, 2012 17:32
Show Gist options
  • Save tomohisa/2330673 to your computer and use it in GitHub Desktop.
Save tomohisa/2330673 to your computer and use it in GitHub Desktop.
rotate table
tableTweet.autoresizingMask = UIViewAutoresizingNone;
CGRect area2 = {0,adView.frame.origin.y+adviewHeight,self.view.bounds.size.width,self.view.bounds.size.height-(adviewHeight)};
tableTweet.transform = CGAffineTransformMakeRotation(M_PI *(-90) / 180.0f);
tableTweet.frame=area2;
tableHeight = TOVData.columnWidth;
tableWidth = tableTweet.frame.size.height;
[TOVTweetView setMaximumHeight:tableWidth];
tweetViews = [NSMutableArray arrayWithCapacity:0];
[self renewNodes];
[tableTweet reloadData];
@tomohisa
Copy link
Author

tomohisa commented Apr 7, 2012

UITableView rotation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment