Skip to content

Instantly share code, notes, and snippets.

@tomohisa
Created April 7, 2012 18:10
Show Gist options
  • Save tomohisa/2331057 to your computer and use it in GitHub Desktop.
Save tomohisa/2331057 to your computer and use it in GitHub Desktop.
Updated still same result... rotate table view but doesn't detect touch on top...
tableTweet.autoresizingMask = UIViewAutoresizingNone;
CGRect area2 = {0,adView.frame.origin.y+adviewHeight,self.view.bounds.size.width,self.view.bounds.size.height-(adviewHeight)};
CGPoint center = CGPointMake(area2.origin.x+area2.size.width/2, area2.origin.y+area2.size.height/2);
tableTweet.frame = CGRectMake(0, 0,area2.size.width, area2.size.height);
tableTweet.center = center;
tableTweet.transform = CGAffineTransformMakeRotation(M_PI *(-90) / 180.0f);
tableTweet.center = center;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment