0

我想在 iPhone SDK 中以纵向模式使用封面流,可以吗?

请给我建议。

谢谢。

4

1 回答 1

0

使用这个

并用于定向使用下面的代码

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation 
{
    //return ((interfaceOrientation == UIInterfaceOrientationLandscapeLeft) ||
//          (interfaceOrientation == UIInterfaceOrientationLandscapeRight));

    return NO;
}

在“FlowCoverViewController.m”中

谢谢

于 2011-05-19T09:09:28.533 回答