title: creating uiview programmatically?
body: <p>Creating a view with following code.</p>
  
  <pre><code>  - (void)loadView {
  
  paintView=[[UIView alloc]initWithFrame:CGRectMake(0, 50, 320, 430)];
  [paintView setBackgroundColor:[UIColor yellowColor]];
  self.view = paintView;
  [paintView release];
  </code></pre>
  
  <p>But my problem is whole screen fills with yellow color, but I want with specified frame.
  I am creating this view in a view based application.. Am i doing something wrong, Overridind the original view?</p>