1

there

I have a viewController ,the hierarchy is something like this

UIView->imageview->uiview->uiimageView->uitableview.

Now i want to change height of only first two object of my hierarchy i.e UIView and UIImageView without effecting frames of other subviews.Please help me.

4

1 回答 1

5

根据你原来的问题,这对你有用。

self.view.autoResizeSubviews = NO;
self.myImageView.autoResizeSubviews = NO;

然后调整大小。

于 2013-06-28T07:31:47.887 回答