ipad方向

时间:2010-12-30 09:09:53

标签: ipad

我想在iPad中创建应用程序,当我在纵向模式下创建视图时,在方向横向和纵向模式下工作,当方向更改时,它会以横向模式隐藏某些视图。我应该删除此thx以获取帮助提前

我已经添加了方法

// Override to allow orientations other than the default portrait orientation.
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
    return YES;
}

1 个答案:

答案 0 :(得分:0)

这篇文章可能会对您有所帮助:iPhone interface orientation statement not working in OS 3.0?

相关问题