how to add one UIView object on other UIView object programitically?

Posted by suse on Stack Overflow See other posts from Stack Overflow or by suse
Published on 2010-03-10T06:20:44Z Indexed on 2010/04/30 11:07 UTC
Read the original article Hit count: 219

Filed under:
|

Hello,

Consider this as my SubView

UIView *subViewObj;

and this as MainView

UIView *mainViewObj;

i need to make MainView as root View can i don it in this way?

[mainViewObj addSubview:subViewObj];

is this correct?i need to do it programitically, without using Interface builder.

© Stack Overflow or respective owner

Related posts about uiview

Related posts about iphone