Take the 2-minute tour ×  I am looking for a tutorial on how to
create a complex view in code.  For example, a background image
to the view, multiple sub views with buttons.  Is there any
tutorials on how to complete this?  share|improve this question
What have you tried? Really, there's no such thing as a tutorial
on how to create a "complex view". Either you know how to make
views and put subviews in them or you don't. If you can do just
one, you can extend that to be as complex as you want. –  matt
Feb 4 '13 at 3:46 add comment  closed as not a real question by
Kurt Revis, matt, Vin, Jai, alxx Feb 4 '13 at 6:47   2 Answers
You should read about View Controller Programming Guide in iOS
and perhaps the UIView documentation.  It is possible to give a
UIView object several subviews by using the  -
(void)addSubview:(UIView *)view  method of a UIView object.
share|improve this answer add comment  you can use addSubview:
UIView *view =[[UIView alloc] initWithFrame:CGRectMake(0, 0,
320,200)]; UIImageView *imgV