下面是我解决的方案:
点击:

然后看到:

然后将分别点击LandscapeLeft和LandscapeRight【这是初始化设备的显示方向】,如下图:

这些弄好了,我们在看看竖向的显示效果怎么样:

效果还是这样,怎么回事呢?
经过一番思考后,我们只要在ViewController.m里在控制其显示方向就可以了,在里面添加下面的代码:
- - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
- {
- if(interfaceOrientation == UIInterfaceOrientationLandscapeLeft || interfaceOrientation == UIInterfaceOrientationLandscapeRight)
- {
- return YES;
- }
- else {
- return NO;
- }
- }
现在再看看效果是怎么样的:

哈哈,成功了...
