在我的项目中,我使用 Facebook API“third20”:https://github.com/facebook/three20/
如何停用自动旋转?图像和缩略图应始终以纵向显示,而不是横向模式。
谢谢!
最佳答案
使用shouldAutorotateToInterfaceOrientation:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
return NO;
}
关于iphone - TTPhotoViewController:停用旋转(无方向横向),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4785526/