开发者

SubView Not adjusting to my given size

I am adding a subview (which开发者_JAVA百科 is a class's view) to my view.i have fixed it's size to 320, 200 but still it resizes to the full screen when i run my program.

How to do this.?


[<view> setClipsToBounds:YES]

Will restrict the subview's bounds to its superview


Please verify autoresizesSubviews and autoresizingMask properties of the view and subViews. I have faced similar issues and it was due to these properties which made my subViews to resize.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜