0

在我的项目中,我使用 Facebook API“three20”:https ://github.com/facebook/three20/

如何禁用自动旋转?图像和缩略图应始终以纵向而不是横向模式显示。

谢谢!

4

1 回答 1

1

利用shouldAutorotateToInterfaceOrientation:

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
    return NO;
}
于 2011-01-24T18:18:29.573 回答