views:

388

answers:

1

my view are fill in back of Navigationbar how can i make it continuous at the buttom of it.

here is my code

WebViewController *webViewController = [[WebViewController alloc] initWithNibName:@"WebController" bundle:nil];         
[[self navigationController] pushViewController:webViewController animated:YES];
[webViewController release];

alt text

A: 

It looks like it resized properly, but the origin is off. You should try setting the frame of the WebViewController's view:

CGRect frame = webViewController.view.frame;
frame.origin.x = 0;
frame.origin.y = 0;
[webViewController.view setFrame:frame];
David Kanarek
thanks Davidi try your code and it not work, cause from i load from IBdid you have a solution on IB?
RAGOpoR
I'm not really sure, it's a little weird. It should resize and be placed correctly. If you post some more relevant code, I might have more insight.
David Kanarek
when i set my topbar to translucent uiview be apper under topbarbut when set it to not translucent it will continuous at the buttom(work correct!)
RAGOpoR