0

我正在将我开发的旧应用程序更新为新的 iphone 5 屏幕尺寸。我有一个可以垂直拉伸的页面,但我有一个奇怪的问题。

问题

目前该页面如下所示:

在此处输入图像描述

一切都在正常伸展。如您所见,在顶部我有一个链接到视频的按钮。当您按下此按钮时,我们将调用它的默认 iOS“videoView”会出现并像往常一样播放我的视频。当我按下“完成”按钮退出视频时,这是我返回时页面的样子。

在此处输入图像描述

您可以看到视图被水平和垂直拉伸。此视图的弹簧和支柱如下:

在此处输入图像描述

知道这里可能会发生什么吗?

编辑

这是视图层次结构。这是习俗。

在此处输入图像描述

4

1 回答 1

0

Not sure if it is the exact same problem, but I think there is a WWDC 2012 video showing a problem with the evolution of ViewControllers, perhaps it is the same problem you are facing.

The video is : Session 236 - The Evolution of View Controller on iOS

and also the sampling code of this video can be usefull.

To get the video go to you apple developer account and videos are freely downloadable through iTunes.

Link to WWDC 2012

Hope it will help you

EDIT

I went quickly through the video and I am not sure it is the same problem as you. However this video explains new iOS6 features in the layout and hierarchy of the view controllers which I hope will help you.

于 2012-11-08T06:07:07.153 回答