开发者

integrate a view into another view in iphone

Good Day!

i want to add a subview in another view in iphone. and i want that child view to be of size which i want like if i wan开发者_运维知识库t to change its height/width i can. Can somebody please suggest me something or help me out in this regard.

Thanks in advance


you can do it by

UIView *newView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 100, 100)]  ;
[self.view addSubview:newView];
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜