开发者

Auto-resizing problem in scrollview subviews

I have a scrollview on a UIView and a series of UIImageViews are placed on the scrollview in a serial man开发者_高级运维ner. My problem is that the image views are not resizing when the device is rotated. In the viewWillAppear, I added

imageView.autoresizingMask=UIViewAutoresizingFlexibleHeight|UIViewAutoresizingFlexibleWidth;
    FirstScrollView.autoresizingMask=UIViewAutoresizingFlexibleHeight|UIViewAutoresizingFlexibleWidth;

Can anybody help me?


You can set it with Interface builder.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜