- (void)viewWillAppear:(BOOL)animated; {
// First rotate the screen:
[UIApplication sharedApplication].statusBarOrientation = UIInterfaceOrientationLandscapeLeft;
// Then rotate the view and re-align it:
CGAffineTransform landscapeTransform = CGAffineTransformMakeRotation(( 270.0/180*M_PI));
landscapeTransform = CGAffineTransformTranslate(landscapeTransform, +90.0, +90.0 );
[self.view setTransform:landscapeTransform];
}
答案 0 :(得分:0)
没有使用过Three20但是你的班级在shouldAutorotateToInterfaceOrientation中返回YES或类似内容吗?