You did not specify any code to support your question, but from experience you could try using self.view.bounds instead of self.view.frame ?
Update
Create a property for your CCGLView in your view controller:
@property (nonatomic) CCGLView *glView;
Then create an instance as you already have, but save it to your resource.
[self setGlView:[[CCGLView alloc] initWithFrame:[[self view] bounds]];
Then we implement viewWillLayoutSubviews and update the frame of your CCGLView to match.
- (void)viewWillLayoutSubviews { [super viewWillLayoutSubviews]; [[self glView] setFrame:[[self view] bounds]]; }
source share