【发布时间】:2011-04-19 06:38:50
【问题描述】:
我已经将纵向方向添加到 iPad 和普通的 .plist 中,但是它仍然没有旋转到顶部纵向上的按钮:S 这是我在 firstviewcontroller.m 中的代码
// Override to allow orientations other than the default portrait orientation.
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
return YES;
}
【问题讨论】:
标签: iphone objective-c screen-rotation