Create a view with the following code.
- (void)loadView { paintView=[[UIView alloc]initWithFrame:CGRectMake(0, 50, 320, 430)]; [paintView setBackgroundColor:[UIColor yellowColor]]; self.view = paintView; [paintView release];
But my problem is filling the entire screen with yellow, but I want with the specified frame. I create this view in a view based application. Am I doing something wrong, Overrideind the original view?
source share